pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lua-mpack: use $(LD) instead of $(CC) when linking



Module Name:	pkgsrc-wip
Committed By:	snow flurry <snow%datagirl.xyz@localhost>
Pushed By:	flurry
Date:		Thu Aug 26 20:59:41 2021 -0400
Changeset:	1a9b73554550695a704db47e843b8b00ca1d8473

Modified Files:
	lua-mpack/distinfo
	lua-mpack/patches/patch-Makefile

Log Message:
lua-mpack: use $(LD) instead of $(CC) when linking

Fixes an issue on Linux where -lmpack wasn't actually getting linked
to mpack.so.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1a9b73554550695a704db47e843b8b00ca1d8473

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

diffstat:
 lua-mpack/distinfo               | 2 +-
 lua-mpack/patches/patch-Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/lua-mpack/distinfo b/lua-mpack/distinfo
index 2c33974001..e969d9e3ea 100644
--- a/lua-mpack/distinfo
+++ b/lua-mpack/distinfo
@@ -4,4 +4,4 @@ SHA1 (libmpack-lua-1.0.8.tar.gz) = 77060046d15cf40c59f8fd8aa2ef0978e925da11
 RMD160 (libmpack-lua-1.0.8.tar.gz) = 981b8129aeb608f6c9f805f2c269fa946150cb24
 SHA512 (libmpack-lua-1.0.8.tar.gz) = 6d21cc6bbdee583a1d808742991459e4b1796f347b2f4eaa747b576f5bb1ca989123339120e43246bac859c20e6f46ac57116ce9f135157256fecbd8cf817f75
 Size (libmpack-lua-1.0.8.tar.gz) = 15616 bytes
-SHA1 (patch-Makefile) = f2d984012c7d3d04378f6f86777eb6d4d5683358
+SHA1 (patch-Makefile) = 47c11337c08ad23f54deece571789032bc98c3a1
diff --git a/lua-mpack/patches/patch-Makefile b/lua-mpack/patches/patch-Makefile
index 9941d02af3..9f6ba1d1c1 100644
--- a/lua-mpack/patches/patch-Makefile
+++ b/lua-mpack/patches/patch-Makefile
@@ -24,7 +24,7 @@ $NetBSD$
 +	$(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $<
 +
 +mpack.so: lmpack.o $(MPACK_SRC)
-+	$(CC) -shared $(LIBS) $(LDFLAGS) $< -o $@
++	$(LD) -shared $(LIBS) $(LDFLAGS) $< -o $@
  
  $(BUSTED): $(LUAROCKS)
  	$(LUAROCKS) install penlight 1.3.2-2


Home | Main Index | Thread Index | Old Index