Only export lib functions in linux builds

This commit is contained in:
Renato Rotenberg
2023-03-04 20:19:48 -03:00
parent 4842cd3ed8
commit 74b8dc231f
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ else
CXX := c++
LDFLAGS := -lm -shared
endif
CFLAGS := -g -Wall -Wno-unused-function -fPIC -DSM64_LIB_EXPORT -DGBI_FLOATS -DVERSION_US -DNO_SEGMENTED_MEMORY
CFLAGS := -g -Wall -Wno-unused-function -fPIC -fvisibility=hidden -DSM64_LIB_EXPORT -DGBI_FLOATS -DVERSION_US -DNO_SEGMENTED_MEMORY
SRC_DIRS := src src/decomp src/decomp/engine src/decomp/include/PR src/decomp/game src/decomp/pc src/decomp/pc/audio src/decomp/mario src/decomp/tools src/decomp/audio
BUILD_DIR := build