From a1b5c6c1e0f4edec83500bcece2225347c1e0da1 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 28 Sep 2008 00:13:40 +0000 Subject: [PATCH] fix weechat compile with the lua plugin git-svn-id: svn://svn.openwrt.org/openwrt/packages@12747 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/weechat/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/net/weechat/Makefile b/net/weechat/Makefile index bbc452a91..358622435 100644 --- a/net/weechat/Makefile +++ b/net/weechat/Makefile @@ -83,17 +83,16 @@ CONFIGURE_ARGS+= \ CONFIGURE_VARS+= \ LDFLAGS="$$$$LDFLAGS -L$(STAGING_DIR)/usr/lib/libiconv/lib -Wl,-rpath-link,$(STAGING_DIR)/usr/lib" \ -ifneq ($(SDK)$(CONFIG_PACKAGE_weechat-mod-lua),) +ifneq ($(CONFIG_PACKAGE_weechat-mod-lua),) CONFIGURE_ARGS+= \ --enable-lua \ --enable-plugins \ --with-plugins="lua" \ --with-lua-inc="$(STAGING_DIR)/usr/include" \ - --with-lua-lib="$(STAGING_DIR)/usr/lib" \ - LUA_CFLAGS="-I$(STAGING_DIR)/usr/include/" - LUA_LFLAGS="-L$(STAGING_DIR)/usr/lib -llualib50 -llua50" + --with-lua-lib="$(STAGING_DIR)/usr/lib" CONFIGURE_VARS+= \ LIBS="-ldl -lm" + TARGET_LDFLAGS += -lcrypt else CONFIGURE_ARGS+= \ --disable-lua