[FFmpeg-devel] [PATCH]Enable pic on OSX for x86_64
Carl Eugen Hoyos
cehoyos at ag.or.at
Sat Feb 7 16:31:48 CET 2015
Hi!
Attached patch allows compilation with icc on OSX.
Please comment, Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index 0c209c5..c019cde 100755
--- a/configure
+++ b/configure
@@ -4068,7 +4068,7 @@ case $target_os in
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME).$(LIBVERSION)$(SLIBSUF)'
SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME).$(LIBMAJOR)$(SLIBSUF)'
objformat="macho"
- enabled x86_64 && objformat="macho64"
+ enabled x86_64 && objformat="macho64" && enable pic
enabled_any pic shared ||
{ check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
;;
More information about the ffmpeg-devel
mailing list