Module Name:    src
Committed By:   plunky
Date:           Wed Jan 19 11:38:15 UTC 2011

Modified Files:
        src/external/mit/lua/usr.bin/lua: Makefile

Log Message:
link against the dynamic library [liblua.so]

we could link against the static liblua.a here (the Lua dist build
does that) but would need to pass "-Wl,--export-dynamic" to ensure that
all symbols were available, as dlopen() with other modules may cause
problems later.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/lua/usr.bin/lua/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/lua/usr.bin/lua/Makefile
diff -u src/external/mit/lua/usr.bin/lua/Makefile:1.3 src/external/mit/lua/usr.bin/lua/Makefile:1.4
--- src/external/mit/lua/usr.bin/lua/Makefile:1.3	Wed Jan 19 10:17:04 2011
+++ src/external/mit/lua/usr.bin/lua/Makefile	Wed Jan 19 11:38:15 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/01/19 10:17:04 plunky Exp $
+# $NetBSD: Makefile,v 1.4 2011/01/19 11:38:15 plunky Exp $
 
 PROG=		lua
 SRCS=		lua.c
@@ -6,7 +6,7 @@
 
 CPPFLAGS+=	-DLUA_USE_READLINE
 
-LDADD+=		${LIBLUA}
+LDADD+=		-llua
 DPADD+=		${LIBLUA}
 
 LDADD+=		-lterminfo -lm -ledit

Reply via email to