From cadd2e940e027bfa46856ce09af5fc930838f1fb Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 14 Jun 2012 20:26:25 +0000 Subject: [PATCH] peercast: use uclibc++.mk git-svn-id: svn://svn.openwrt.org/openwrt/packages@32373 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- multimedia/peercast/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/multimedia/peercast/Makefile b/multimedia/peercast/Makefile index ab5cb845d..afbcda1b7 100644 --- a/multimedia/peercast/Makefile +++ b/multimedia/peercast/Makefile @@ -20,12 +20,13 @@ PKG_REMOVE_FILES:=aclocal.m4 acinclude.m4 PKG_INSTALL:=1 +include $(INCLUDE_DIR)/uclibc++.mk include $(INCLUDE_DIR)/package.mk define Package/peercast SECTION:=multimedia CATEGORY:=Multimedia - DEPENDS:=+libpthread +uclibcxx + DEPENDS:=+libpthread $(CXX_DEPENDS) TITLE:=P2P audio and video streaming server URL:=http://www.peercast.org/ endef @@ -45,9 +46,7 @@ CONFIGURE_ARGS += \ --enable-staticbin \ CONFIGURE_VARS += \ - CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \ - CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \ - LIBS="-nodefaultlibs -lc -luClibc++ -lpthread -lgcc_s" \ + LIBS="-lpthread" define Package/peercast/install $(INSTALL_DIR) $(1)/usr/sbin