Compile FFMPEG in PIC when configured as such.
When the CMake flag is specified for position independent code, FFMPEG will be compiled with the --enable-pic flag.
This commit is contained in:
@@ -22,6 +22,10 @@ list(APPEND FFMPEG_CONFIGURE
|
||||
"--enable-static"
|
||||
)
|
||||
|
||||
if(CMAKE_POSITION_INDEPENDENT_CODE)
|
||||
list(APPEND FFMPEG_CONFIGURE "--enable-pic")
|
||||
endif()
|
||||
|
||||
if(MACOSX)
|
||||
# TODO: Remove these two items when Mac OS X StepMania builds in 64-bit.
|
||||
list(APPEND FFMPEG_CONFIGURE
|
||||
|
||||
Reference in New Issue
Block a user