summaryrefslogtreecommitdiff
path: root/pyuno/Executable_python_wrapper.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-01-01 11:47:56 +0100
committerDavid Tardon <dtardon@redhat.com>2013-01-01 13:15:01 +0100
commit085e0adf53baff298059980a54758d81b08bb059 (patch)
tree190d93c246bb54b86ec445a8b970329ba72b95cc /pyuno/Executable_python_wrapper.mk
parentae5c574ac24ed8979dcf03da87cd14c078db2a07 (diff)
just pass the define through -D
I am constantly amazed at the creativity of the original makefile writers. An extra header file, processed by sed, rather then adding one item to CDEFS? Really? Change-Id: I41ae8b10fc447ea5ab91e767c8afb87e39b9b5f5
Diffstat (limited to 'pyuno/Executable_python_wrapper.mk')
-rw-r--r--pyuno/Executable_python_wrapper.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyuno/Executable_python_wrapper.mk b/pyuno/Executable_python_wrapper.mk
index 0d978ca0a731..157a0a3f0915 100644
--- a/pyuno/Executable_python_wrapper.mk
+++ b/pyuno/Executable_python_wrapper.mk
@@ -26,12 +26,12 @@
$(eval $(call gb_Executable_Executable,pyuno/python))
-$(eval $(call gb_Executable_use_static_libraries,pyuno/python,\
- ooopathutils \
+$(eval $(call gb_Executable_add_defs,pyuno/python,\
+ -DMY_PYVERSION=L\"$(PYTHON_VERSION)\" \
))
-$(eval $(call gb_Executable_use_custom_headers,pyuno/python,\
- pyuno/pyversion \
+$(eval $(call gb_Executable_use_static_libraries,pyuno/python,\
+ ooopathutils \
))
$(eval $(call gb_Executable_add_noexception_objects,pyuno/python,\