Fixed compiler LDFLAGS

This commit is contained in:
Michiel Broek 2007-05-27 11:25:00 +00:00
parent ea27f1fd97
commit 52c81732c4
13 changed files with 13 additions and 11 deletions

1
configure vendored
View File

@ -1763,6 +1763,7 @@ _ACEOF
SYSTEM="`uname -s`"
CPU="`uname -m`"
LDFLAGS="-I /usr/local/include"
# Extract the first word of "gmake", so it can be a program name with args.
set dummy gmake; ac_word=$2

View File

@ -40,6 +40,7 @@ AC_DEFINE_UNQUOTED(SHORTRIGHT, "$SHORTRIGHT")
AC_SUBST(VERSION)
SYSTEM="`uname -s`"
CPU="`uname -m`"
LDFLAGS="-I /usr/local/include"
dnl
dnl Checks for programs.

View File

@ -12,7 +12,7 @@ OTHER = Makefile header.txt footer.txt \
#####################################################################################
.c.o:
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
all:

View File

@ -51,7 +51,7 @@ SLIBS = ../lib/libmbse.a
#############################################################################
.c.o:
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: ${TARGET}

View File

@ -38,7 +38,7 @@ TARGET = mbcico mbout
#############################################################################
.c.o:
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: ${TARGET}

View File

@ -54,7 +54,7 @@ TARGET = mbfido mbseq mbaff mbindex mbdiff mbfile mbmsg
####################################################################################################################
.c.o:
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: ${TARGET}

View File

@ -13,7 +13,7 @@ OTHER = Makefile
#############################################################################
.c.o:
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: mbmon

View File

@ -15,7 +15,7 @@ OTHER = Makefile
#############################################################################
.c.o:
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: mbnntp

View File

@ -41,7 +41,7 @@ TARGET = mbsebbs mbnewusr
#############################################################################################################
.c.o:
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: ${TARGET}

View File

@ -28,7 +28,7 @@ OTHER = Makefile
#############################################################################
.c.o:
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: mbsetup

View File

@ -19,7 +19,7 @@ OTHER = Makefile issue issue.netbsd
#############################################################################
.c.o:
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: mbtask

View File

@ -24,7 +24,7 @@ TARGET = mball mblang mbstat mbtoberep mbuser mbbw
#############################################################################################################
.c.o:
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: ${TARGET}

View File

@ -24,7 +24,7 @@ TARGET = mbuseradd mbpasswd mblogin
#############################################################################################################
.c.o:
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: ${TARGET}