# Usually -O and/or -g
CFLAGS = @CFLAGS@
+# Linker flags
+LDFLAGS = @LDFLAGS@
+
# OS dependent defines
DEFS = @OSDEFS@
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(DEFS) $<
libcommon.la: $(LTOBJS)
- $(LIBTOOL) --mode=link $(CC) -o $@ $(LTOBJS) -no-install
+ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(LTOBJS) -no-install
pre-install: