From ec50cdfaed8304ef03b2f323b9d4cf932c964543 Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Fri, 18 Aug 2006 23:13:40 +0000 Subject: [PATCH] fix makefile SVN-Revision: 4606 --- 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 01e1aa0f38..2869a71d01 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 0d462aaffb..35885b28e5 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)" \ -- 2.30.2