aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAlexander Strange2008-03-12 23:15:57 +0000
committerRobert Swain2008-03-12 23:15:57 +0000
commit8b83d568930506600c65c14aaa76089d1c618d69 (patch)
treedcd9e39677c1efb0284cd8182420553d0ab3bce6 /configure
parentfecf966f17d441bd10d7a9de20fd0f9abb0c6d24 (diff)
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 4bea3209a1..32a398008f 100755
--- a/configure
+++ b/configure
@@ -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