ghc-hslua/hslua-system-lua.patch

32 lines
918 B
Diff
Raw Normal View History

2018-01-30 00:34:48 +00:00
--- hslua-0.9.5/hslua.cabal.orig 2018-01-04 23:32:01.000000000 +0100
+++ hslua-0.9.5/hslua.cabal 2018-01-30 00:14:21.052923877 +0100
@@ -35,7 +35,8 @@
flag system-lua
description: Use the system-wide Lua instead of the bundled copy.
- default: False
+ default: True
+ manual: True
flag apicheck
description: Compile Lua with -DLUA_USE_APICHECK.
@@ -60,6 +61,7 @@
flag luajit
description: Link with LuaJIT. This implies flag system-lua as well.
default: False
+ manual: True
flag lua501
description: Build against lua 5.1.
@@ -115,7 +116,7 @@
if flag(lua502)
pkgconfig-depends: lua5.2
else
- pkgconfig-depends: lua5.3
+ pkgconfig-depends: lua
else
Extra-libraries: lua
if !flag(use-pkgconfig)
Diff finished. Tue Jan 30 00:14:26 2018