configure: Fix ostype=freebsd for ./configure (thanks dersd for reporting and n0nsense for testing the fix!)

Tue, 13 Jul 2010 01:16:15 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 13 Jul 2010 01:16:15 +0100
changeset 3351
9d38d2bef187
parent 3350
f0e312c9da01
child 3352
770e27bf11ea

configure: Fix ostype=freebsd for ./configure (thanks dersd for reporting and n0nsense for testing the fix!)

configure file | annotate | diff | comparison | revisions
--- a/configure	Mon Jul 12 16:44:56 2010 +0100
+++ b/configure	Tue Jul 13 01:16:15 2010 +0100
@@ -162,7 +162,7 @@
         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

mercurial