summaryrefslogtreecommitdiff
path: root/package/c-icap
diff options
context:
space:
mode:
authorGuillaume GARDET <guillaume.gardet@oliseo.fr>2015-07-23 10:45:47 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-23 23:07:40 +0200
commit6c73215493335f1ede26cad2d3898ef543d871d6 (patch)
treec001c6843d9c09fad1a2378bb98ce65fe876f319 /package/c-icap
parent5a40c488fe20b11c07c4cbdf2a22bc068d0fe3aa (diff)
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 <thomas.petazzoni@free-electrons.com> Signed-off-by: Guillaume GARDET <guillaume.gardet@oliseo.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/c-icap')
-rw-r--r--package/c-icap/c-icap.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/c-icap/c-icap.mk b/package/c-icap/c-icap.mk
index 0f42b6cfb..0e27cc4bb 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