summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-06 15:47:07 +0000
committerSteven Barth <steven@midlink.org>2008-09-06 15:47:07 +0000
commitf61bd1a78c69e3f492b18fd4ac14873cb009b8ef (patch)
tree711f0f87c40dd6fddf089d7a0835bc9022c8032d
parent9ce58c0339f2b570c049c7bee04af66c3d695a39 (diff)
Fixed Luasocket build
-rw-r--r--contrib/package/luasocket/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/package/luasocket/Makefile b/contrib/package/luasocket/Makefile
index e35cfe985..65538d18d 100644
--- a/contrib/package/luasocket/Makefile
+++ b/contrib/package/luasocket/Makefile
@@ -30,10 +30,10 @@ define Build/Compile
$(call Build/Compile/Default)
endef
-MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -pedantic -Wall -fpic" LDFLAGS="$(TARGET_LDFLAGS) -shared -fpic"
+MAKE_FLAGS += LD="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -pedantic -Wall -fpic" LDFLAGS="$(TARGET_LDFLAGS) -shared -fpic"
define Package/luasocket/install
$(MAKE) -C$(PKG_BUILD_DIR) install INSTALL_TOP_SHARE=$(1)/usr/lib/lua INSTALL_TOP_LIB=$(1)/usr/lib/lua
endef
-$(eval $(call BuildPackage,luasocket)) \ No newline at end of file
+$(eval $(call BuildPackage,luasocket))