diff options
author | hisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c> | 2009-08-13 06:17:08 +0000 |
---|---|---|
committer | hisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c> | 2009-08-13 06:17:08 +0000 |
commit | bf12f5f325f80a9b59e127f0e07689d7e9fe4e5e (patch) | |
tree | 82423bcd293f4f9f26634874a0688d5cba67ee95 /src | |
parent | a9e00f7e573341f2f971221e620c80e37877d87d (diff) | |
download | luarocks-bf12f5f325f80a9b59e127f0e07689d7e9fe4e5e.tar.gz luarocks-bf12f5f325f80a9b59e127f0e07689d7e9fe4e5e.tar.bz2 luarocks-bf12f5f325f80a9b59e127f0e07689d7e9fe4e5e.zip |
Add -L with LUA_LIBDIR. Patch by David Manura
git-svn-id: http://luarocks.org/svn/luarocks/trunk@46 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/build/builtin.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/build/builtin.lua b/src/luarocks/build/builtin.lua index cfd71858..b4b83730 100644 --- a/src/luarocks/build/builtin.lua +++ b/src/luarocks/build/builtin.lua | |||
@@ -90,7 +90,7 @@ function run(rockspec) | |||
90 | if is_platform("cygwin") then | 90 | if is_platform("cygwin") then |
91 | add_flags(extras, "-l%s", {"lua"}) | 91 | add_flags(extras, "-l%s", {"lua"}) |
92 | end | 92 | end |
93 | return execute(variables.LD.." "..variables.LIBFLAG, "-o", library, unpack(extras)) | 93 | return execute(variables.LD.." "..variables.LIBFLAG, "-o", library, "-L", variables.LUA_LIBDIR, unpack(extras)) |
94 | end | 94 | end |
95 | end | 95 | end |
96 | 96 | ||