From: Oliver Ertl Date: Sun, 30 Sep 2007 19:48:02 +0000 (+0000) Subject: ctorrent: * Add libtool fixes * Use the g++-uc wrapper the right way (thanks nico) X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0606b80a9c34bb14f7798c64880a5d0743b6cf3f;p=openwrt%2Fsvn-archive%2Fpackages.git ctorrent: * Add libtool fixes * Use the g++-uc wrapper the right way (thanks nico) SVN-Revision: 9080 --- diff --git a/net/ctorrent/Makefile b/net/ctorrent/Makefile index be3d06601..ea85c71bf 100644 --- a/net/ctorrent/Makefile +++ b/net/ctorrent/Makefile @@ -35,7 +35,18 @@ endef CONFIGURE_VARS += \ CXX="g++-uc" \ - CXXFLAGS="$$$$CXX_CFLAGS -fno-rtti" \ + CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \ + +define Build/Configure + $(call Build/Configure/Default,) + $(call libtool_disable_rpath) +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) all + $(call libtool_fixup_libdir,$(PKG_INSTALL_DIR)) + $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install +endef define Package/ctorrent/install $(INSTALL_DIR) $(1)/usr/bin