summaryrefslogtreecommitdiff
path: root/packaging/buildfix.patch
blob: eb078d2ee921ed65887710113f31d3286f5bc9e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- lua-5.1.4/src/Makefile.am~	2009-05-07 20:02:27.000000000 +0000
+++ lua-5.1.4/src/Makefile.am	2009-05-07 20:02:27.000000000 +0000
@@ -4,7 +4,7 @@
 nodist_include_HEADERS = luaconf.h 
 
 lib_LTLIBRARIES = liblua.la
-liblua_la_LDFLAGS = -release 5.1
+liblua_la_LDFLAGS = -release 5.1 -lm -ldl
 liblua_la_SOURCES = \
 	lapi.c lcode.c ldebug.c ldo.c ldump.c lfunc.c lgc.c llex.c lmem.c \
 	lobject.c lopcodes.c lparser.c lstate.c lstring.c ltable.c ltm.c  \
--- lua-5.1.4/src/Makefile.in~	2009-05-07 20:02:38.000000000 +0000
+++ lua-5.1.4/src/Makefile.in	2009-05-07 20:02:38.000000000 +0000
@@ -197,7 +197,7 @@
 include_HEADERS = lua.h lualib.h lauxlib.h
 nodist_include_HEADERS = luaconf.h 
 lib_LTLIBRARIES = liblua.la
-liblua_la_LDFLAGS = -release 5.1
+liblua_la_LDFLAGS = -release 5.1 -lm -ldl
 liblua_la_SOURCES = \
 	lapi.c lcode.c ldebug.c ldo.c ldump.c lfunc.c lgc.c llex.c lmem.c \
 	lobject.c lopcodes.c lparser.c lstate.c lstring.c ltable.c ltm.c  \