[packages] libv4l libc++ fix
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 3 Aug 2012 21:35:34 +0000 (21:35 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 3 Aug 2012 21:35:34 +0000 (21:35 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32963 3c298f89-4303-0410-b956-a3cf2f4a3e73

libs/libv4l/Makefile

index af3b880..8ec4f7d 100644 (file)
@@ -18,6 +18,7 @@ PKG_MD5SUM:=80062780ae90e5955473b09b31e9828a
 
 PKG_BUILD_DEPENDS:=argp-standalone
 
+include $(INCLUDE_DIR)/uclibc++.mk
 include $(INCLUDE_DIR)/package.mk
 
 define Package/libv4l/Default
@@ -57,7 +58,7 @@ define Package/v4l-utils
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE+= utilities
-  DEPENDS := +libv4l +uclibcxx
+  DEPENDS := +libv4l $(CXX_DEPENDS)
 endef
 
 define Package/v4l-utils/description
@@ -66,7 +67,6 @@ define Package/v4l-utils/description
 endef
 
 TARGET_CFLAGS += $(FPIC)
-TARGET_CXX = $(STAGING_DIR)/host/bin/g++-uc
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \