From e20dd6787a27e4e67a226adfe558156ce96ed12d Mon Sep 17 00:00:00 2001 From: mbm Date: Fri, 18 Aug 2006 23:13:40 +0000 Subject: [PATCH] fix makefile git-svn-id: svn://svn.openwrt.org/openwrt/packages@4606 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/cbtt/Makefile | 5 +++-- net/dsl-qos-queue/Makefile | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/cbtt/Makefile b/net/cbtt/Makefile index 01e1aa0f3..2869a71d0 100644 --- a/net/cbtt/Makefile +++ b/net/cbtt/Makefile @@ -29,6 +29,7 @@ define Package/cbtt DEPENDS:=zlib MENU:=1 TITLE:=Bittorrent tracker + DEPENDS:=+libpthread DESCRIPTION:=a C BitTorrent Tracker URL:=http://bnbtusermods.sourceforge.net endef @@ -36,7 +37,7 @@ endef define Package/cbtt-mysql SECTION:=net CATEGORY:=Network - DEPENDS:=cbtt +libmysqlclient + DEPENDS:=cbtt +libmysqlclient +libpthread TITLE:=Bittorrent tracker with mysql support DESCRIPTION:=Bittorrent tracker with mysql support URL:=http://bnbtusermods.sourceforge.net @@ -47,7 +48,7 @@ define Build/Compile mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ - LFLAGS="-L$(STAGING_DIR)/usr/lib -L $(STAGING_DIR)/usr/lib/mysql -L. -lz -lmysqlclient" \ + LFLAGS="-L$(STAGING_DIR)/usr/lib -L $(STAGING_DIR)/usr/lib/mysql -L. -lz -lmysqlclient -lpthread" \ CFLAGS="-I$(STAGING_DIR)/usr/include" mkdir -p $(PKG_INSTALL_DIR)/usr/bin endef diff --git a/net/dsl-qos-queue/Makefile b/net/dsl-qos-queue/Makefile index 0d462aaff..35885b28e 100644 --- a/net/dsl-qos-queue/Makefile +++ b/net/dsl-qos-queue/Makefile @@ -30,8 +30,7 @@ define Package/dsl-qos-queue endef define Build/Compile -$(call Build/Compile/Default,CC=$(TARGET_CC) \ - $(TARGET_CONFIGURE_OPTS) \ +$(call Build/Compile/Default, \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ install_prefix="$(PKG_INSTALL_DIR)" \