diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-09-23 15:34:26 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-09-23 15:38:10 +0300 |
commit | 0618b35ebda29b911058254cd34620e8b24ab8f7 (patch) | |
tree | 381c2b5531b4745c0cd89b5994022bf98a37c08d /odk/CustomTarget_allheaders.mk | |
parent | 3f516cc112599c7e55672a178a62081b70fa91ef (diff) |
Fixes for cross-compilation on OS X (to iOS)
Introduce SDKDIRNAME as a configury variable and use it instead of the
gbuild gb_Package_SDKDIRNAME. Then we can easily construct the
SDKDIRNAME_FOR_BUILD variant that is needed to find the specially
named SDK in instdir on OS X when cross-compiling.
Move the version number section in configure.ac earlier.
Change-Id: Iee3db1a50ad4c7a9f91bbc5e0d0b01d76a76f701
Diffstat (limited to 'odk/CustomTarget_allheaders.mk')
-rw-r--r-- | odk/CustomTarget_allheaders.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/CustomTarget_allheaders.mk b/odk/CustomTarget_allheaders.mk index e44497e65315..66df9c006855 100644 --- a/odk/CustomTarget_allheaders.mk +++ b/odk/CustomTarget_allheaders.mk @@ -24,7 +24,7 @@ $(odk_allheaders_DIR)/allheaders.hxx : \ printf '#endif\n' >> $@ \ $(foreach file,$(shell cat $^),\ $(if $(findstring /win32/,$(file)),&& printf '#ifdef WNT\n' >> $@) \ - && printf '#include <%s>\n' $(subst $(INSTDIR)/$(gb_Package_SDKDIRNAME)/include/,,$(file)) >> $@ \ + && printf '#include <%s>\n' $(subst $(INSTDIR)/$(SDKDIRNAME)/include/,,$(file)) >> $@ \ $(if $(findstring /win32/,$(file)),&& printf '#endif // WNT\n' >> $@) \ ) |