Use LDFLAGS when compiling extensions or modules.
This commit is contained in:
parent
040c2a5ba9
commit
84cda210f0
|
@ -95,7 +95,7 @@ install: all
|
|||
.SUFFIXES: .so
|
||||
|
||||
.c.so:
|
||||
${CC} ${PICFLAGS} ${CPPFLAGS} ${CFLAGS} $< -o $@
|
||||
${CC} ${PICFLAGS} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} $< -o $@
|
||||
|
||||
.PHONY: depend clean distclean
|
||||
depend:
|
||||
|
|
|
@ -196,7 +196,7 @@ install_hpux_shared: install-mkdirs
|
|||
${CC} ${CPPFLAGS} ${CFLAGS} -DMODNAME=`basename $< .c`_mheader -c $< -o $@
|
||||
|
||||
.c.so:
|
||||
${CC} ${PICFLAGS} ${CPPFLAGS} ${CFLAGS} $< -o $@
|
||||
${CC} ${PICFLAGS} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} $< -o $@
|
||||
|
||||
.so.sl:
|
||||
$(LD) -b $< -o $@
|
||||
|
|
Loading…
Reference in New Issue