aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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