Merge pull request #1009 from rfkrocktk/feature/ffmpeg-pic
Compile FFMPEG in PIC when configured as such.
This commit is contained in:
@@ -22,6 +22,10 @@ list(APPEND FFMPEG_CONFIGURE
|
|||||||
"--enable-static"
|
"--enable-static"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(CMAKE_POSITION_INDEPENDENT_CODE)
|
||||||
|
list(APPEND FFMPEG_CONFIGURE "--enable-pic")
|
||||||
|
endif()
|
||||||
|
|
||||||
if(MACOSX)
|
if(MACOSX)
|
||||||
# TODO: Remove these two items when Mac OS X StepMania builds in 64-bit.
|
# TODO: Remove these two items when Mac OS X StepMania builds in 64-bit.
|
||||||
list(APPEND FFMPEG_CONFIGURE
|
list(APPEND FFMPEG_CONFIGURE
|
||||||
|
|||||||
Reference in New Issue
Block a user