Skip to content

Commit

Permalink
ppp: install pkg-config file on InstallDev
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
openwrtdiy committed Oct 29, 2024
1 parent b8d5e36 commit 9a7fa2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/network/services/ppp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a7fa2d

Please sign in to comment.