Skip to content
Snippets Groups Projects
Commit 8b83d568 authored by Alexander Strange's avatar Alexander Strange Committed by Robert Swain
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment