diff options
author | nia <nia@pkgsrc.org> | 2020-07-11 15:14:29 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-07-11 15:14:29 +0000 |
commit | b8d59e43d438eaf408e08948140b93e013f2ec3d (patch) | |
tree | 9b22b9d284dec844047099206933d00679b33402 /archivers | |
parent | 86f2d98a8e5e8aa285343909a3a7fd0d1eb64cf0 (diff) | |
download | pkgsrc-b8d59e43d438eaf408e08948140b93e013f2ec3d.tar.gz |
Add LUA_LINKER_MAGIC variable that centrally sets LDFLAGS on Darwin,
as should probably have been done to begin with. Remove per-package hacks.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/lua-zlib/Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/archivers/lua-zlib/Makefile b/archivers/lua-zlib/Makefile index 2da0dc3e5f1..7da00a011cb 100644 --- a/archivers/lua-zlib/Makefile +++ b/archivers/lua-zlib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2020/07/11 14:30:25 nia Exp $ +# $NetBSD: Makefile,v 1.5 2020/07/11 15:14:29 nia Exp $ DISTNAME= lua-zlib-1.2 PKGNAME= ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1} @@ -17,12 +17,7 @@ BUILD_TARGET= zlib.so MAKE_FLAGS+= CC=${CC} MAKE_FLAGS+= LD=${CC} MAKE_FLAGS+= CFLAGS="${CFLAGS} -fPIC" - -.if ${OPSYS} == "Darwin" -MAKE_FLAGS+= LDFLAGS="${LDFLAGS} -shared -undefined dynamic_lookup" -.else MAKE_FLAGS+= LDFLAGS="${LDFLAGS} -shared" -.endif INSTALLATION_DIRS+= ${LUA_CDIR} |