aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorS. Davilla <davilla@4pi.com>2013-10-18 01:09:50 -0400
committerS. Davilla <davilla@4pi.com>2013-10-18 01:09:50 -0400
commit303a35c2506af1880ce7272876dbb79077c6f895 (patch)
treed514bf1b7d4fe287abb456d2039e13853d49e56f /tools
parent74f8cf0e2517d7a17d2954d65ef6e9a31416e70d (diff)
fixed, depends was missing libcurl.pc because we selectively install only libcurl. Libcurl is selectively installed because the normal install will run a bunch of test assuming it is on the target box. In other words, curl configure is not cross-platform smart
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/curl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/depends/target/curl/Makefile b/tools/depends/target/curl/Makefile
index 24ad3926d4..7dcf84866e 100644
--- a/tools/depends/target/curl/Makefile
+++ b/tools/depends/target/curl/Makefile
@@ -28,8 +28,12 @@ $(LIBDYLIB): $(PLATFORM)
$(MAKE) -C $(PLATFORM)/lib
.installed-$(PLATFORM): $(LIBDYLIB)
+ # install only libcurl and includes
$(MAKE) -C $(PLATFORM)/lib install
$(MAKE) -C $(PLATFORM)/include install
+ # make sure to also install libcurl.pc, we need to do
+ # this because we are selectively installing only libcurl
+ $(MAKE) -C $(PLATFORM) install-pkgconfigDATA
ifeq ($(OS),android)
rm -f $(PREFIX)/lib/libcurl.la $(PREFIX)/lib/libcurl.so $(PREFIX)/lib/libcurl.so.5
mv -f $(PREFIX)/lib/libcurl.so.5.2.0 $(PREFIX)/lib/libcurl.so