Skip to content

Commit

Permalink
liboping: add pkgconfig to dev install target
Browse files Browse the repository at this point in the history
The packages 'liboping' does also provide da 'pkgconfig' file. So that other
programs that link against this library and use pkgconfig can find it more
easily, the provided pkconfig file must also be copied into the staging dir.

Signed-off-by: Florian Eckert <[email protected]>
  • Loading branch information
feckert authored and neheb committed Aug 19, 2024
1 parent c4ed78f commit 9d26c08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/liboping/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,12 @@ CONFIGURE_ARGS += \
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/oping.h $(1)/usr/include/

$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/liboping.{a,so*} $(1)/usr/lib/

$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/liboping.pc $(1)/usr/lib/pkgconfig/
endef

define Package/liboping/install
Expand Down

0 comments on commit 9d26c08

Please sign in to comment.