diff --git a/make.tmpl.in b/make.tmpl.in index 6d1292075..a6e16de7e 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -204,7 +204,7 @@ $(TARGETS): $(OBJECTS) $(DEFS) $(CFLAGS) $< > $@ %.so: %.o - $(CC) -c $(INCLUDES) $(DEFS) $(CFLAGS) $< -o $@ + $(CC) -c $(INCLUDES) $(DEFS) $(CFLAGS) $(CLDFLAGS) $< $(LIBS) -o $@ ifeq ("@LIB_SUFFIX@","so") $(LIB_SHARED): $(OBJECTS) $(LDDEPS)