[openwrt/openwrt] ppp: install pkg-config file on InstallDev
LEDE Commits
lede-commits at lists.infradead.org
Tue Oct 22 07:11:20 PDT 2024
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/eeb59f87a18843c541277a6236b4f2b6e41889e9
commit eeb59f87a18843c541277a6236b4f2b6e41889e9
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Tue Oct 22 16:10:05 2024 +0200
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 at gmail.com>
---
package/network/services/ppp/Makefile | 2 ++
1 file changed, 2 insertions(+)
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
More information about the lede-commits
mailing list