configure: Fix ostype=freebsd for ./configure (thanks dersd for reporting and n0nsens...
authorMatthew Wild <mwild1@gmail.com>
Tue, 13 Jul 2010 00:16:15 +0000 (01:16 +0100)
committerMatthew Wild <mwild1@gmail.com>
Tue, 13 Jul 2010 00:16:15 +0000 (01:16 +0100)
configure

index a671dca759211c7c64da43e25aa2e5cc2080b5c2..e2400c74008009190fe8b73da8397d0c5c2a9899 100755 (executable)
--- a/configure
+++ b/configure
@@ -162,7 +162,7 @@ then
         then LUA_INCDIR="/usr/local/include/lua51"
         LUA_INCDIR_SET=yes
         CFLAGS="-Wall -fPIC -I/usr/local/include"
-        LDFLAGS="-I/usr/local/include -shared"
+        LDFLAGS="-I/usr/local/include -L/usr/local/lib -shared"
         LUA_SUFFIX="-5.1"
         LUA_SUFFIX_SET=yes
         LUA_DIR=/usr/local