From d977c0da56b7d7452e4bee7b0f8d910720aa43b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Tue, 26 Aug 2014 20:26:31 +0200 Subject: [PATCH] BuildFeatures: add a feature for libicns --- build/jam/BuildFeatures | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/build/jam/BuildFeatures b/build/jam/BuildFeatures index a885e941f3..7e0be56af3 100644 --- a/build/jam/BuildFeatures +++ b/build/jam/BuildFeatures @@ -375,6 +375,23 @@ if [ IsPackageAvailable libpng_devel ] { } +# libicns +if [ IsPackageAvailable libicns_devel ] { + ExtractBuildFeatureArchives libicns : + file: base libicns + runtime: lib + file: devel libicns_devel + depends: base + library: $(developLibDir)/libicns.so.1 + headers: $(developHeadersDir) + ; + + EnableBuildFeatures libicns ; +} else { + Echo "libicns support not available on $(TARGET_PACKAGING_ARCH)" ; +} + + # Jasper if [ IsPackageAvailable jasper_devel ] { ExtractBuildFeatureArchives jasper :