0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00

Hide librtmp symbols so they don't collide with system libraries

This commit is contained in:
BtbN 2014-05-24 14:13:44 +02:00
parent 83f92d8281
commit 862840b3a0

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)