From 6c73215493335f1ede26cad2d3898ef543d871d6 Mon Sep 17 00:00:00 2001 From: Guillaume GARDET Date: Thu, 23 Jul 2015 10:45:47 +0200 Subject: [PATCH] c-icap: fix config script This commit adjusts the c-icap config script by removing a bogus -L$LIBDIR which was expanded to -L/usr/lib, which is wrong for cross-compilation. It fixes the build of c-icap-modules: http://autobuild.buildroot.org/results/b05/b05141a6d450c94669c6a0a5a0f5b799c2c248f2/ Reported-by: Thomas Petazzoni Signed-off-by: Guillaume GARDET Signed-off-by: Thomas Petazzoni --- package/c-icap/c-icap.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/c-icap/c-icap.mk b/package/c-icap/c-icap.mk index 0f42b6cfb1..0e27cc4bbd 100644 --- a/package/c-icap/c-icap.mk +++ b/package/c-icap/c-icap.mk @@ -57,6 +57,7 @@ define C_ICAP_TUNE_INSTALLATION $(STAGING_DIR)/usr/bin/{c-icap,c-icap-libicapapi}-config $(SED) 's%INCDIR2=.*%INCDIR2=$(STAGING_DIR)/usr/include/c_icap%' \ $(STAGING_DIR)/usr/bin/{c-icap,c-icap-libicapapi}-config + $(SED) 's%-L$$LIBDIR %%' $(STAGING_DIR)/usr/bin/c-icap-libicapapi-config endef C_ICAP_POST_INSTALL_TARGET_HOOKS += C_ICAP_TUNE_INSTALLATION -- 2.30.2