Commit ac4249d2 authored by Måns Rullgård's avatar Måns Rullgård
Browse files

use LDFLAGS when linking shared lib

git-svn-id: svn:// df754926-b1dd-0310-bc7b-ec298dee348c
parent 85ab23ce
...@@ -68,7 +68,7 @@ libx264.a: .depend $(OBJS) $(OBJASM) ...@@ -68,7 +68,7 @@ libx264.a: .depend $(OBJS) $(OBJASM)
ranlib libx264.a ranlib libx264.a
$(SONAME): .depend $(OBJS) $(OBJASM) $(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 x264$(EXE): $(OBJCLI) libx264.a
$(CC) -o $@ $+ $(LDFLAGS) $(CC) -o $@ $+ $(LDFLAGS)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment