opencv: install missing pkgconfig file in staging folder 3337/head
authorjazzgs <jazzgs@users.noreply.github.com>
Wed, 12 Oct 2016 11:57:44 +0000 (13:57 +0200)
committerjazzgs <jazzgs@users.noreply.github.com>
Wed, 12 Oct 2016 12:09:46 +0000 (14:09 +0200)
Signed-off-by: jazzgs <jazzgs@users.noreply.github.com>
libs/opencv/Makefile

index 0a66b4dd02e7bba65d2d70d34e8e62c08e490d0e..10b675e09b583cd7f0a71cf4ed7935425aa40c31 100644 (file)
@@ -61,6 +61,8 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/include/opencv2 $(1)/usr/include/
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libopencv* $(1)/usr/lib/
+       $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/opencv.pc $(1)/usr/lib/pkgconfig/
 endef
 
 define Package/opencv/install