Merge pull request #3337 from jazzgs/feature_opencv
authorYousong Zhou <yszhou4tech@gmail.com>
Sat, 15 Oct 2016 01:15:11 +0000 (20:15 -0500)
committerGitHub <noreply@github.com>
Sat, 15 Oct 2016 01:15:11 +0000 (20:15 -0500)
opencv: install missing pkgconfig file in staging folder

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