mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 09:08:58 +00:00
Do not export internal symbols from a unix shared library.
This commit is contained in:
@@ -77,6 +77,9 @@ endif()
|
||||
#--------------------------------------------------------------------
|
||||
if (BUILD_SHARED_LIBS)
|
||||
set(_GLFW_BUILD_DLL 1)
|
||||
if (UNIX OR APPLE)
|
||||
add_definitions(-fvisibility=hidden)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user