Quellcode durchsuchen

makefile.shared: respect LDFLAGS when linking

Michael Stapelberg vor 11 Jahren
Ursprung
Commit
ed2743d524
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      makefile.shared

+ 1 - 1
makefile.shared

@@ -262,7 +262,7 @@ testprof/$(LIBTEST):
 objs: $(OBJECTS)
 objs: $(OBJECTS)
 
 
 $(LIBNAME): $(OBJECTS) testprof/$(LIBTEST)
 $(LIBNAME): $(OBJECTS) testprof/$(LIBTEST)
-	libtool --silent --mode=link gcc $(CFLAGS) `find . -type f | grep "[.]lo" | grep "src/" | xargs` $(EXTRALIBS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
+	libtool --silent --mode=link gcc $(LDFLAGS) $(CFLAGS) `find . -type f | grep "[.]lo" | grep "src/" | xargs` $(EXTRALIBS) -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
 
 
 install: $(LIBNAME)
 install: $(LIBNAME)
 	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
 	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)