(LDFLAGS): New variable.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Fri, 17 May 2013 12:44:21 +0000 (21:44 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Fri, 17 May 2013 12:44:21 +0000 (21:44 +0900)
(libconcord.la): Use `LDFLAGS'.

Makefile.in

index 4a2d67c..58e6a9e 100644 (file)
@@ -2,6 +2,7 @@ CC = @CC@
 DEFS = @DEFS@
 LIBS = @LIBS@
 CFLAGS = -I. @CFLAGS@ -c -Wall -Wmissing-prototypes $(DEFS)
+LDFLAGS = @LDFLAGS@
 
 LIBTOOL = @LIBTOOL@
 
@@ -59,7 +60,7 @@ all:  libconcord.la
 
 libconcord.la: $(OBJS)
        $(LIBTOOL) --mode=link \
-               $(CC) -o libconcord.la $(OBJS) $(LIBS) \
+               $(CC) $(LDFLAGS) -o libconcord.la $(OBJS) $(LIBS) \
                -rpath ${libdir} -version-info $(ABI_VERSION) \
                -no-undefined