From 9a7fa2d5f7a755db2f8d346777295db5a7834bac Mon Sep 17 00:00:00 2001 From: openwrtdiy <57249132+openwrtdiy@users.noreply.github.com> Date: Tue, 29 Oct 2024 20:37:18 +0800 Subject: [PATCH] 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. --- 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 5f1ebd4e7d1bb7..760a31dc0d02da 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