Commit fd718416 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

cmake: Add -fno-common for Pre-10.5 for shared library.

parent a00c9ae8
......@@ -209,6 +209,9 @@ if(APPLE)
set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS
"${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} ${DYNAMIC_LOOKUP}")
# For pre-10.5
set( CMAKE_SHARED_LIBRARY_C_FLAGS "${CMAKE_C_FLAGS} -fno-common")
set(SYS_DARWIN 1)
add_definitions(-std=gnu99) # Hack for obj-c files to be compiled with gnu99
vlc_enable_modules(macosx minimal_macosx access_eyetv quartztext)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment