]> granicus.if.org Git - libx264/commitdiff
use LDFLAGS when linking shared lib
authorMåns Rullgård <mru@mru.ath.cx>
Sat, 8 Apr 2006 01:33:13 +0000 (01:33 +0000)
committerMåns Rullgård <mru@mru.ath.cx>
Sat, 8 Apr 2006 01:33:13 +0000 (01:33 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@488 df754926-b1dd-0310-bc7b-ec298dee348c

Makefile

index 15b7ef1fd0728e5a661aabff4531216c749f75cb..e268e921a8282b09ba8a3d642355a67dfa245fd2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,7 @@ libx264.a: .depend $(OBJS) $(OBJASM)
        ranlib libx264.a
 
 $(SONAME): .depend $(OBJS) $(OBJASM)
-       $(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SONAME)
+       $(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SONAME) $(LDFLAGS)
 
 x264$(EXE): $(OBJCLI) libx264.a 
        $(CC) -o $@ $+ $(LDFLAGS)