Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
91926336
Kaydet (Commit)
91926336
authored
Kas 27, 2012
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
pyuno: add python_headers external and use it for wrapper
Change-Id: Ie151a1200037b6060eab00d6f0f0889134826e5e
üst
9d921baa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
24 deletions
+21
-24
RepositoryExternal.mk
RepositoryExternal.mk
+18
-8
Library_pyuno_wrapper.mk
pyuno/Library_pyuno_wrapper.mk
+3
-16
No files found.
RepositoryExternal.mk
Dosyayı görüntüle @
91926336
...
...
@@ -1941,9 +1941,10 @@ endif # ENABLE_GCONF
# PYTHON
# extra python_headers external because pyuno wrapper must not link python
ifeq ($(SYSTEM_PYTHON),YES)
define gb_LinkTarget__use_python
define gb_LinkTarget__use_python
_headers
$(call gb_LinkTarget_add_defs,$(1),\
$(filter-out -I%,$(PYTHON_CFLAGS)) \
)
...
...
@@ -1953,6 +1954,11 @@ $(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \
)
endef
define gb_LinkTarget__use_python
$(call gb_LinkTarget__use_python_headers,$(1))
$(call gb_LinkTarget_add_libs,$(1),\
$(PYTHON_LIBS) \
)
...
...
@@ -1961,7 +1967,18 @@ endef
else # !SYSTEM_PYTHON
define gb_LinkTarget__use_python_headers
$(call gb_LinkTarget_set_include,$(1),\
-I$(call gb_UnpackedTarball_get_dir,python3) \
-I$(call gb_UnpackedTarball_get_dir,python3)/PC \
-I$(call gb_UnpackedTarball_get_dir,python3)/Include \
$$(INCLUDE) \
)
endef
define gb_LinkTarget__use_python
$(call gb_LinkTarget__use_python_headers,$(1))
ifeq ($(OS),WNT)
$(call gb_LinkTarget_add_libs,$(1),\
...
...
@@ -1978,13 +1995,6 @@ $(call gb_LinkTarget_use_libraries,$(1),\
)
endif
$(call gb_LinkTarget_set_include,$(1),\
-I$(call gb_UnpackedTarball_get_dir,python3) \
-I$(call gb_UnpackedTarball_get_dir,python3)/PC \
-I$(call gb_UnpackedTarball_get_dir,python3)/Include \
$$(INCLUDE) \
)
endef
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO,\
...
...
pyuno/Library_pyuno_wrapper.mk
Dosyayı görüntüle @
91926336
...
...
@@ -37,23 +37,10 @@ $(eval $(call gb_Library_set_include,pyuno_wrapper,\
$$(INCLUDE) \
))
# not using here external
# because we do not want to link here
# against python!
# we need only -Idirective
ifeq ($(SYSTEM_PYTHON),YES)
$(eval $(call gb_Library_set_include,pyuno_wrapper,\
$(PYTHON_CFLAGS) \
$$(INCLUDE) \
))
else
$(eval $(call gb_Library_set_include,pyuno_wrapper,\
-I$(call gb_UnpackedTarball_get_dir,python3) \
-I$(call gb_UnpackedTarball_get_dir,python3)/PC \
-I$(call gb_UnpackedTarball_get_dir,python3)/Include \
$$(INCLUDE) \
# not using external "python" because we do not want to link against python
$(eval $(call gb_Library_use_externals,pyuno_wrapper,\
python_headers \
))
endif
ifneq ($(GUI)$(COM),WNTMSC)
ifeq ($(filter DRAGONFLY FREEBSD NETBSD OPENBSD MACOSX,$(OS)),)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment