From: Måns Rullgård Date: Sat, 8 Apr 2006 01:33:13 +0000 (+0000) Subject: use LDFLAGS when linking shared lib X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=ac4249d20d47f75ca9aebb04c4b329c2d497100c;p=x264.git use LDFLAGS when linking shared lib git-svn-id: svn://svn.videolan.org/x264/trunk@488 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/Makefile b/Makefile index 15b7ef1f..e268e921 100644 --- 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)