pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/spidermonkey/files



Module Name:    pkgsrc
Committed By:   khorben
Date:           Tue Jan 23 03:26:41 UTC 2018

Modified Files:
        pkgsrc/lang/spidermonkey/files: pkgsrc.mk

Log Message:
Use $(CC) to link shared libraries

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


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/spidermonkey/files/pkgsrc.mk

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

Modified files:

Index: pkgsrc/lang/spidermonkey/files/pkgsrc.mk
diff -u pkgsrc/lang/spidermonkey/files/pkgsrc.mk:1.7 pkgsrc/lang/spidermonkey/files/pkgsrc.mk:1.8
--- pkgsrc/lang/spidermonkey/files/pkgsrc.mk:1.7        Thu Dec 23 12:36:02 2010
+++ pkgsrc/lang/spidermonkey/files/pkgsrc.mk    Tue Jan 23 03:26:41 2018
@@ -49,7 +49,7 @@ OS_CFLAGS+=   -DSYSV -D_BSD_SOURCE -DPOSIX
 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