COMPILE = $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS)
DEPCOMPILE = $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS)
-LINK = $(LIBTOOL) --mode=link $(CC)
+LINK = $(LIBTOOL) --mode=link $(CC) $(LIBS)
LTCLEAN = $(LIBTOOL) --mode=clean $(RM)
LTRM = $(LIBTOOL) --mode=uninstall $(RM)