From: Luiz Angelo Daros de Luca Date: Mon, 28 Oct 2019 20:44:31 +0000 (-0300) Subject: libgphoto2: libgphoto2_port.pc needed by dev X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F10380%2Fhead;p=feed%2Fpackages.git libgphoto2: libgphoto2_port.pc needed by dev 'pkg-config --exists libgphoto2' fails without libgphoto2_port.pc. Signed-off-by: Luiz Angelo Daros de Luca --- diff --git a/libs/libgphoto2/Makefile b/libs/libgphoto2/Makefile index cb741f2005..a6255c7270 100644 --- a/libs/libgphoto2/Makefile +++ b/libs/libgphoto2/Makefile @@ -476,7 +476,7 @@ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgphoto2{,_port}.{a,so*} $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig - $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libgphoto2.pc $(1)/usr/lib/pkgconfig/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libgphoto2{,_port}.pc $(1)/usr/lib/pkgconfig/ $(SED) 's,-I$$$${prefix}/include/gphoto2,,g' $(1)/usr/bin/gphoto2{,-port}-config $(SED) 's,-I$$$${prefix}/include,,g' $(1)/usr/bin/gphoto2{,-port}-config # remove annoying recursive symlink