From: Christian Marangi Date: Tue, 22 Oct 2024 14:10:05 +0000 (+0200) Subject: ppp: install pkg-config file on InstallDev X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eeb59f87a18843c541277a6236b4f2b6e41889e9;p=openwrt%2Fstaging%2Fpepe2k.git 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 --- 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