From: Steven Barth Date: Sat, 6 Sep 2008 16:12:34 +0000 (+0000) Subject: Fixed Luasocket build X-Git-Tag: 0.8.0~115 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=97d4eddc432b6641b6d9e1b9437597f551061c50;p=oweals%2Fluci.git Fixed Luasocket build (cherry picked from commit 37ef79dc601bc34489bcab56d653f5d91e8526c8) --- 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))