Merge pull request #101 from BtbN/librtmp_symbols_fix

Hide librtmp symbols so they don't collide with system libraries
master
Jim 2014-05-24 06:39:54 -07:00
commit e0da47e4ce
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,11 @@ set(obs-outputs_librtmp_SOURCES
librtmp/parseurl.c
librtmp/rtmp.c)
if(NOT WIN32)
set_source_files_properties(${obs-outputs_librtmp_SOURCES} PROPERTIES
COMPILE_FLAGS "-fvisibility=hidden")
endif()
set(obs-outputs_HEADERS
obs-output-ver.h
rtmp-helpers.h
@ -50,3 +55,4 @@ target_link_libraries(obs-outputs
${obs-outputs_PLATFORM_DEPS})
install_obs_plugin(obs-outputs)