summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Marangi2024-10-22 14:10:05 +0000
committerChristian Marangi2024-10-22 14:10:05 +0000
commiteeb59f87a18843c541277a6236b4f2b6e41889e9 (patch)
tree959b95393b3f27a38632f1a6e43b9a39ffc90a22
parent04fb05914ea77db9a0be2ef82249bdfd7c80fc65 (diff)
downloadopenwrt-eeb59f87a18843c541277a6236b4f2b6e41889e9.tar.gz
ppp: install pkg-config file on InstallDev
It seems some package (sstp-client) makes use of pppd.pc file to detect the ppp version as 2.5.0 changed some API. Also install the .pc file to permit the version detection of pppd. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--package/network/services/ppp/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/services/ppp/Makefile b/package/network/services/ppp/Makefile
index 5f1ebd4e7d..760a31dc0d 100644
--- a/package/network/services/ppp/Makefile
+++ b/package/network/services/ppp/Makefile
@@ -192,6 +192,8 @@ endif
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/pppd $(1)/usr/include/
+ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig
endef
define Package/ppp/script_install