Commit 8b83d568 authored by Alexander Strange's avatar Alexander Strange Committed by Robert Swain

Fix configure to properly build without PIC by default on Darwin

Patch by Alexander Strange (astrange ithinksw com)

Originally committed as revision 12425 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent fecf966f
......@@ -1374,7 +1374,7 @@ if test $targetos = darwin; then
add_cflags "-pipe"
check_cflags "-force_cpusubtype_ALL"
check_cflags "-Wno-sign-compare"
disabled shared && add_cflags -mdynamic-no-pic
enabled shared || add_cflags -mdynamic-no-pic
fi
fi
......
Markdown is supported
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