libsigc++ can also be linked with uClibc++
authorFlorian Fainelli <florian@openwrt.org>
Mon, 3 Nov 2008 21:33:07 +0000 (21:33 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 3 Nov 2008 21:33:07 +0000 (21:33 +0000)
SVN-Revision: 13112

libs/libsigc++/Makefile

index 4c04c980fe8f734d9d032429dd61fdfb57961429..9e5d134bd6baede3e4c28bb36840ea68339611d7 100644 (file)
@@ -25,7 +25,7 @@ define Package/libsigcxx
   CATEGORY:=Libraries
   TITLE:=typesafe callback system for standard C++
   URL:=http://libsigc++.sourceforge.net/
-  DEPENDS:=+libstdcpp
+  DEPENDS:=+uclibcxx
 endef
 
 define Package/libsigcxx/description
@@ -41,7 +41,10 @@ CONFIGURE_ARGS += \
        --enable-static \
 
 CONFIGURE_VARS += \
-       CXXFLAGS="$$$$CXXFLAGS -fno-rtti"  \
+       CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++"  \
+       CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++ -I$(LINUX_DIR)/include" \
+       LDFLAGS="$$$$LDFLAGS" \
+       LIBS="-nodefaultlibs -luClibc++ -lm -lgcc" \
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \