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
pull/126/head
Alexander Strange 17 years ago committed by Robert Swain
parent fecf966f17
commit 8b83d56893
  1. 2
      configure

2
configure vendored

@ -1374,7 +1374,7 @@ if test $targetos = darwin; then
add_cflags "-pipe" add_cflags "-pipe"
check_cflags "-force_cpusubtype_ALL" check_cflags "-force_cpusubtype_ALL"
check_cflags "-Wno-sign-compare" check_cflags "-Wno-sign-compare"
disabled shared && add_cflags -mdynamic-no-pic enabled shared || add_cflags -mdynamic-no-pic
fi fi
fi fi

Loading…
Cancel
Save