blob: eb78e3edae52e0a66a0b1db7e27dcc21abc0bebd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ab,v 1.5 2005/06/07 03:52:10 minskim Exp $
--- Makefile.orig 2004-03-11 19:50:55.000000000 -0600
+++ Makefile
@@ -38,8 +38,8 @@ install: all strip
# shared libraries (for Linux)
so:
- ld -o lib/liblua.so.$V -shared src/*.o
- ld -o lib/liblualib.so.$V -shared src/lib/*.o
+ ${CC} ${LDFLAGS} -o lib/liblua.so.$V -shared src/*.o ${LIBS}
+ ${CC} ${LDFLAGS} -o lib/liblualib.so.$V -shared src/lib/*.o ${LIBS}
cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so
# binaries using shared libraries
|