Kaydet (Commit) adbe531e authored tarafından Michael Stahl's avatar Michael Stahl

cairo: to actually use the right cairo-version.h...

...it is necessary to overwrite dummy src/cairo-version.h because that
is included with "" from src/cairo.h which means that at least GCC 4.7
looks in the current directory src/ first...

Change-Id: I4a254021ad318ffb428242443f7e1e29c876915c
üst de14220a
......@@ -26,6 +26,9 @@ $(call gb_ExternalProject_get_state_target,cairo,build) :
else
# overwrite src/cairo-version.h because that is just a dummy file and included
# from cairo.h in non-overridable way
$(call gb_ExternalProject_get_state_target,cairo,build) :
cd $(EXTERNAL_WORKDIR) \
&& ./configure \
......@@ -46,6 +49,7 @@ $(call gb_ExternalProject_get_state_target,cairo,build) :
--disable-svg --enable-gtk-doc=no --enable-test-surfaces=no \
$(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
$(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
&& cp cairo-version.h src/cairo-version.h \
&& cd src && $(MAKE) \
&& touch $@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment