Created
November 6, 2011 11:41
-
-
Save neko-kai/1342779 to your computer and use it in GitHub Desktop.
fix for "unknown symbol`lua_neutralize_longjmp'"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- hslua.cabal 2011-11-06 13:27:04.508004327 +0200 | |
+++ hslua.cabal2 2011-11-06 13:31:33.935004333 +0200 | |
@@ -16,26 +16,12 @@ | |
The package is standalone: full Lua interpreter version 5.1.4 | |
is distributed in this package as well. | |
Category: Scripting | |
-Extra-source-files: src/*.h | |
+Extra-source-files: src/ntrljmp.h | |
Library | |
Build-depends: base==4.* | |
Exposed-modules: Scripting.Lua, Scripting.Lua.ConfigFile | |
Hs-source-dirs: src | |
- C-sources: src/lapi.c, src/lauxlib.c, src/lbaselib.c, src/lcode.c, | |
- src/ldblib.c, src/ldebug.c, src/ldo.c, src/ldump.c, src/lfunc.c, | |
- src/lgc.c, src/linit.c, src/liolib.c, src/llex.c, src/lmathlib.c, | |
- src/lmem.c, src/loadlib.c, src/lobject.c, src/lopcodes.c, | |
- src/loslib.c, src/lparser.c, src/lstate.c, src/lstring.c, | |
- src/lstrlib.c, src/ltable.c, src/ltablib.c, src/ltm.c, | |
- src/lundump.c, src/lvm.c, src/lzio.c, src/ntrljmp.c | |
+ C-sources: src/ntrljmp.c | |
Include-dirs: src | |
- | |
- if os(linux) | |
- CC-Options: "-DLUA_USE_LINUX" | |
- | |
- if os(darwin) | |
- CC-Options: "-DLUA_USE_MACOSX" | |
- | |
- if os(freebsd) | |
- CC-Options: "-DLUA_USE_POSIX" | |
+ Extra-libraries: lua |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- hslua-0.3.4.ebuild 2011-11-06 12:47:38.510004791 +0200 | |
+++ hslua-0.3.4.ebuild2 2011-11-06 13:03:24.081004281 +0200 | |
@@ -27,5 +27,4 @@ | |
src_prepare() { | |
base_src_prepare | |
- rm -f src/* | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment