Browse Source

Merge branch 'stapelberg/respect-ldflags' into develop

Steffen Jaeckel 11 years ago
parent
commit
ec73cfa257
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makefile.shared

+ 1 - 1
makefile.shared

@@ -262,7 +262,7 @@ testprof/$(LIBTEST):
 objs: $(OBJECTS)
 
 $(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 -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)