aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRoine Gustafsson2005-01-03 00:36:56 +0000
committerMichael Niedermayer2005-01-03 00:36:56 +0000
commitad5a429c49669411e17ef2fbbc1f327b3b8e9d93 (patch)
tree41e3eed8ee67cca73eabb87d7756f8ef470fcf5f /configure
parentbf69c4e55f2c75f4399e3bf39012b392c6857f9b (diff)
Small configure fix for Darwin / Mac OS X.
This option tells linker to look for local libraries first. If you have a shared livavcodec/libavformat in the library path and try to build a static build, the linker will find the shared library first and link with it. patch by (Roine Gustafsson <roine users.sourceforge net>) Originally committed as revision 3793 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 9163aeaadd..b085a0ea1a 100755
--- a/configure
+++ b/configure
@@ -265,7 +265,7 @@ SHFLAGS="-dynamiclib"
extralibs=""
darwin="yes"
strip="strip -x"
-LDFLAGS="-Wl,-d"
+LDFLAGS="-Wl,-d,-search_paths_first"
FFSLDFLAGS=-Wl,-bind_at_load
;;
MINGW32*)