summaryrefslogtreecommitdiff
path: root/development/lua
diff options
context:
space:
mode:
authorMenno Duursma <druiloor@zonnet.nl>2010-10-10 00:13:31 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-10-10 08:28:15 -0500
commit93a2e6c5df0b3ee7d225104b247c1808853cbf41 (patch)
tree14f7eada536db3bf58f6cd8f968e180cd0b06b83 /development/lua
parente5aa84ecfe3ccc484f416034db326acddd646a76 (diff)
downloadslackbuilds-93a2e6c5df0b3ee7d225104b247c1808853cbf41.tar.gz
development/lua: Link libm in the shared library
This is needed by wireshark. Thanks to Luiz Gustavo Zuliani for the report. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/lua')
-rw-r--r--development/lua/lua.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/development/lua/lua.SlackBuild b/development/lua/lua.SlackBuild
index cb84be2c1f..d0d16f4490 100644
--- a/development/lua/lua.SlackBuild
+++ b/development/lua/lua.SlackBuild
@@ -75,7 +75,7 @@ make linux install \
mkdir -p shared
cd shared
ar -x $PKG/usr/lib${LIBDIRSUFFIX}/liblua.a
- gcc -ldl -lreadline -lhistory -lncurses -shared *.o -o liblua.so.5.1.4
+ gcc -ldl -lreadline -lhistory -lncurses -lm -shared *.o -o liblua.so.5.1.4
cp -a liblua.so.5.1.4 $PKG/usr/lib${LIBDIRSUFFIX}
( cd $PKG/usr/lib${LIBDIRSUFFIX}
ln -s liblua.so.5.1.4 liblua.so.5.1