mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +01:00
Use LDFLAGS when compiling extensions or modules.
This commit is contained in:
parent
7c0bbdc872
commit
f02e3a2628
2 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ install: all
|
||||||
.SUFFIXES: .so
|
.SUFFIXES: .so
|
||||||
|
|
||||||
.c.so:
|
.c.so:
|
||||||
${CC} ${PICFLAGS} ${CPPFLAGS} ${CFLAGS} $< -o $@
|
${CC} ${PICFLAGS} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} $< -o $@
|
||||||
|
|
||||||
.PHONY: depend clean distclean
|
.PHONY: depend clean distclean
|
||||||
depend:
|
depend:
|
||||||
|
|
|
@ -195,7 +195,7 @@ install_hpux_shared: install-mkdirs
|
||||||
${CC} ${CPPFLAGS} ${CFLAGS} -DMODNAME=`basename $< .c`_mheader -c $< -o $@
|
${CC} ${CPPFLAGS} ${CFLAGS} -DMODNAME=`basename $< .c`_mheader -c $< -o $@
|
||||||
|
|
||||||
.c.so:
|
.c.so:
|
||||||
${CC} ${PICFLAGS} ${CPPFLAGS} ${CFLAGS} $< -o $@
|
${CC} ${PICFLAGS} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} $< -o $@
|
||||||
|
|
||||||
.so.sl:
|
.so.sl:
|
||||||
$(LD) -b $< -o $@
|
$(LD) -b $< -o $@
|
||||||
|
|
Loading…
Reference in a new issue