fix makefile
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4606 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8b6c86b471
commit
e20dd6787a
@ -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
|
||||
|
@ -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)" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user