summaryrefslogtreecommitdiff
path: root/databases/lua-lsqlite3
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-07-11 14:20:05 +0000
committernia <nia@pkgsrc.org>2020-07-11 14:20:05 +0000
commitf425a4b4a0d65921c6f368befbab6e544a197e04 (patch)
tree387e1f6400e29f0ed31ee59bf243e426d1416848 /databases/lua-lsqlite3
parent396190488fc58558c98ab6f4853d71def5edb1de (diff)
downloadpkgsrc-f425a4b4a0d65921c6f368befbab6e544a197e04.tar.gz
Help the macOS linker understand that these are runtime-loaded modules.
Diffstat (limited to 'databases/lua-lsqlite3')
-rw-r--r--databases/lua-lsqlite3/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/lua-lsqlite3/Makefile b/databases/lua-lsqlite3/Makefile
index 306f03407e8..7e889ca3821 100644
--- a/databases/lua-lsqlite3/Makefile
+++ b/databases/lua-lsqlite3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/07/09 15:27:56 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/11 14:20:05 nia Exp $
DISTNAME= lsqlite3_fsl09y
PKGNAME= ${LUA_PKGPREFIX}-lsqlite3-0.9.5
@@ -11,6 +11,8 @@ HOMEPAGE= http://lua.sqlite.org/index.cgi/index
COMMENT= Binding for Lua to the SQLite3 database library
LICENSE= mit
+LDFLAGS.Darwin+= -undefined dynamic_lookup
+
INSTALLATION_DIRS+= ${LUA_CDIR} ${LUA_LDIR}
INSTALLATION_DIRS+= ${LUA_DOCDIR}/examples