diff options
author | beoran <beoran@rubyforge.org> | 2012-04-15 17:40:31 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2012-04-15 17:40:31 (GMT) |
commit | 1c5da167d825747edb4e425c1328dce1428a9267 (patch) | |
tree | fcc92b174b6dc2ece23977de4073c90852545b6f /src | |
parent | 5f0403f7dc5ef0cb85cacfe9365c312692483e22 (diff) | |
download | mxe-1c5da167d825747edb4e425c1328dce1428a9267.zip mxe-1c5da167d825747edb4e425c1328dce1428a9267.tar.gz mxe-1c5da167d825747edb4e425c1328dce1428a9267.tar.bz2 |
update package lua
Diffstat (limited to 'src')
-rw-r--r-- | src/lua-test.c | 2 | ||||
-rw-r--r-- | src/lua.mk | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/src/lua-test.c b/src/lua-test.c index 8cd0e9f..68de286 100644 --- a/src/lua-test.c +++ b/src/lua-test.c @@ -14,7 +14,7 @@ int main(int argc, char *argv[]) (void)argc; (void)argv; - L = lua_open(); + L = luaL_newstate(); lua_close(L); return 0; } @@ -3,7 +3,7 @@ PKG := lua $(PKG)_IGNORE := -$(PKG)_CHECKSUM := 2b11c8e60306efb7f0734b747588f57995493db7 +$(PKG)_CHECKSUM := 08f84c355cdd646f617f09cebea48bd832415829 $(PKG)_SUBDIR := lua-$($(PKG)_VERSION) $(PKG)_FILE := lua-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://www.lua.org/ftp/$($(PKG)_FILE) @@ -29,12 +29,9 @@ define $(PKG)_BUILD TO_BIN='lua.h' \ INSTALL='$(INSTALL)' \ install - $(SED) -i 's,^prefix=.*,prefix=$(PREFIX)/$(TARGET),' '$(1)/etc/lua.pc' - $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/pkgconfig' - $(INSTALL) -m644 '$(1)/etc/lua.pc' '$(PREFIX)/$(TARGET)/lib/pkgconfig/lua.pc' '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-lua.exe' \ - `'$(TARGET)-pkg-config' lua --cflags --libs` + -llua endef |