aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 cb84be2c1fda..d0d16f44907f 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