pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/spidermonkey/files Use $(CC) to link shared libra...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e0450c908756
branches:  trunk
changeset: 374445:e0450c908756
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Tue Jan 23 03:26:41 2018 +0000

description:
Use $(CC) to link shared libraries

This is more correct, and notably fixes support for PKGSRC_MKRELRO for this
package.

diffstat:

 lang/spidermonkey/files/pkgsrc.mk |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 49b24ea3b82e -r e0450c908756 lang/spidermonkey/files/pkgsrc.mk
--- a/lang/spidermonkey/files/pkgsrc.mk Tue Jan 23 02:29:12 2018 +0000
+++ b/lang/spidermonkey/files/pkgsrc.mk Tue Jan 23 03:26:41 2018 +0000
@@ -49,7 +49,7 @@
 INTERP_CFLAGS+=        `pkg-config --cflags-only-I nspr`
 
 RANLIB = echo
-MKSHLIB = $(LD) -lm `pkg-config --libs nspr` -shared $(LDFLAGS) $(XMKSHLIBOPTS)
+MKSHLIB = $(CC) -lm `pkg-config --libs nspr` -shared $(LDFLAGS) $(XMKSHLIBOPTS)
 
 #.c.o:
 #      $(CC) -c -MD $*.d $(CFLAGS) $<



Home | Main Index | Thread Index | Old Index