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
This commit is contained in:
Alexander Strange 2008-03-12 23:15:57 +00:00 committed by Robert Swain
parent fecf966f17
commit 8b83d56893

2
configure vendored
View File

@ -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