From 919263362c86479b43c00ae29d6156d4d6cdd545 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 27 Nov 2012 15:50:53 +0100 Subject: pyuno: add python_headers external and use it for wrapper Change-Id: Ie151a1200037b6060eab00d6f0f0889134826e5e --- pyuno/Library_pyuno_wrapper.mk | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'pyuno/Library_pyuno_wrapper.mk') diff --git a/pyuno/Library_pyuno_wrapper.mk b/pyuno/Library_pyuno_wrapper.mk index 5e06ad4306ef..b88bc2b41f19 100644 --- a/pyuno/Library_pyuno_wrapper.mk +++ b/pyuno/Library_pyuno_wrapper.mk @@ -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)),) -- cgit