liboping: add pkgconfig to dev install target
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 <fe@dev.tdt.de>
This commit is contained in:
parent
c4ed78f0f3
commit
9d26c089bb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue