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

utils/unrar/Makefile

index f9224a0..373b1fe 100644 (file)
@@ -18,6 +18,7 @@ PKG_MD5SUM:=41b0a9bca945b4ae2608421afd8f606e
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/unrar
 PKG_INSTALL:=1
 
+include $(INCLUDE_DIR)/uclibc++.mk
 include $(INCLUDE_DIR)/package.mk
 
 define Package/unrar
@@ -26,7 +27,7 @@ define Package/unrar
   SUBMENU:=compression
   TITLE:=unrar application
   URL:=http://www.rarlab.com/
-  DEPENDS:=+uclibcxx
+  DEPENDS:=$(CXX_DEPENDS)
 endef
 
 define Package/unrar/description
@@ -39,9 +40,6 @@ define Build/Configure
        ln -s $(PKG_BUILD_DIR)/makefile.unix $(PKG_BUILD_DIR)/Makefile
 endef
 
-MAKE_FLAGS += \
-       CXX="$(STAGING_DIR)/host/bin/g++-uc"
-
 define Package/unrar/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/unrar $(1)/usr/bin/