diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-04-03 14:41:25 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-04-03 14:47:31 +0200 |
commit | 66c028fa4c5c3a7c9756c61130d0506e01b58d23 (patch) | |
tree | 5c6c56865dd34fdb8547cc47e5ba26c44800e76c /redland/ExternalProject_raptor.mk | |
parent | redland: we don't need the raptor features using libxslt (diff) | |
download | core-66c028fa4c5c3a7c9756c61130d0506e01b58d23.tar.gz core-66c028fa4c5c3a7c9756c61130d0506e01b58d23.zip |
redland: clean up libxml2 usage
- use xml2-config from unpacked dir
- rasqal does use libxml2 apparently for utils
- redland itself does not use libxml2 directly
- no need to put OUTDIR/bin on PATH
Change-Id: Ib4481c681d0b188c06217f7bc0d000f15ab82da3
Diffstat (limited to 'redland/ExternalProject_raptor.mk')
-rw-r--r-- | redland/ExternalProject_raptor.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/redland/ExternalProject_raptor.mk b/redland/ExternalProject_raptor.mk index f5fc5dfaf048..b35578d43790 100644 --- a/redland/ExternalProject_raptor.mk +++ b/redland/ExternalProject_raptor.mk @@ -29,6 +29,7 @@ $(call gb_ExternalProject_get_state_target,raptor,build): --without-xslt-config \ --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) --target=$(HOST_PLATFORM) \ lt_cv_cc_dll_switch="-shared" \ + $(if $(filter NO,$(SYSTEM_LIBXML)),--with-xml2-config=$(call gb_UnpackedTarball_get_dir,xml2)/xml2-config) \ && $(MAKE) \ ) else @@ -48,7 +49,7 @@ $(call gb_ExternalProject_get_state_target,raptor,build): $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ $(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \ $(if $(filter IOS ANDROID,$(OS)),--disable-shared,--disable-static) \ - $(if $(filter NO,$(SYSTEM_LIBXML)),--with-xml2-config=$(OUTDIR)/bin/xml2-config) \ + $(if $(filter NO,$(SYSTEM_LIBXML)),--with-xml2-config=$(call gb_UnpackedTarball_get_dir,xml2)/xml2-config) \ && $(MAKE) \ ) endif |