diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-10-25 22:36:07 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-10-27 00:50:02 +0200 |
commit | 349015b18e285b9642e0b16a5e4db61ef347a6a8 (patch) | |
tree | be3b36ba75e167cea6d13f91e26fcc596e9e2d28 /external/lcms2 | |
parent | postgresql: find both openssl and NSS libraries in their hiding places (diff) | |
download | core-349015b18e285b9642e0b16a5e4db61ef347a6a8.tar.gz core-349015b18e285b9642e0b16a5e4db61ef347a6a8.zip |
gbuild: remove gb_ExternalPackage_add_library_for_install
Deliver all external libraries to INSTDIR directly.
Change-Id: I8d3e035e5cfa07bd0f53ee4a226c48d4b86a4032
Diffstat (limited to 'external/lcms2')
-rw-r--r-- | external/lcms2/ExternalPackage_lcms2.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/external/lcms2/ExternalPackage_lcms2.mk b/external/lcms2/ExternalPackage_lcms2.mk index 4d1c98e414db..294347f171be 100644 --- a/external/lcms2/ExternalPackage_lcms2.mk +++ b/external/lcms2/ExternalPackage_lcms2.mk @@ -9,21 +9,23 @@ $(eval $(call gb_ExternalPackage_ExternalPackage,lcms2,lcms2)) +$(eval $(call gb_ExternalPackage_set_outdir,lcms2,$(INSTROOT))) + $(eval $(call gb_ExternalPackage_use_external_project,lcms2,lcms2)) ifneq ($(DISABLE_DYNLOADING),TRUE) ifeq ($(OS),MACOSX) -$(eval $(call gb_ExternalPackage_add_library_for_install,lcms2,lib/liblcms2.2.dylib,src/.libs/liblcms2.2.dylib)) +$(eval $(call gb_ExternalPackage_add_file,lcms2,$(LIBO_LIB_FOLDER)/liblcms2.2.dylib,src/.libs/liblcms2.2.dylib)) else ifeq ($(OS),WNT) ifeq ($(COM),GCC) -$(eval $(call gb_ExternalPackage_add_library_for_install,lcms2,bin/liblcms2-2.dll,src/.libs/liblcms2-2.dll)) +$(eval $(call gb_ExternalPackage_add_file,lcms2,$(LIBO_LIB_FOLDER)/liblcms2-2.dll,src/.libs/liblcms2-2.dll)) else ifeq ($(COM),MSC) # note: the lcms2d.lib references LCMS2.DLL (without D!) but the dll is # actually called LCMS2D.DLL then -$(eval $(call gb_ExternalPackage_add_library_for_install,lcms2,bin/lcms2.dll,bin/lcms2$(if $(MSVC_USE_DEBUG_RUNTIME),d).dll)) +$(eval $(call gb_ExternalPackage_add_file,lcms2,$(LIBO_LIB_FOLDER)/lcms2.dll,bin/lcms2$(if $(MSVC_USE_DEBUG_RUNTIME),d).dll)) endif # $(COM) else # $(OS) != WNT/MACOSX -$(eval $(call gb_ExternalPackage_add_library_for_install,lcms2,lib/liblcms2.so.2,src/.libs/liblcms2.so.2.0.4)) +$(eval $(call gb_ExternalPackage_add_file,lcms2,$(LIBO_LIB_FOLDER)/liblcms2.so.2,src/.libs/liblcms2.so.2.0.4)) endif # $(OS) endif # $(DISABLE_DYNLOADING) |