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 15b7ef1..e268e92 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)