From eeb59f87a18843c541277a6236b4f2b6e41889e9 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Tue, 22 Oct 2024 16:10:05 +0200 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. Signed-off-by: Christian Marangi --- 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 -- 2.30.2