π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Avoid exposing internal symbols to decrease binary size.
Peter Sobote04f74240827
diff --git a/setup.py b/setup.pyindex 9969bb0..17f6b8c 100644--- a/setup.py+++ b/setup.py@@ -117,8 +117,14 @@ ALL_INCLUDES += ['vendors/libgsm/inc']if platform.system() == "Darwin":ALL_CPPFLAGS.append("-DMACOS=1")ALL_CPPFLAGS.append("-DHAVE_VDSP=1")+ ALL_CPPFLAGS.append("-flto=thin")+ ALL_LINK_ARGS.append("-flto=thin")+ ALL_LINK_ARGS.append("-fvisibility=hidden")elif platform.system() == "Linux":ALL_CPPFLAGS.append("-DLINUX=1")+ ALL_CPPFLAGS.append("-flto=thin")+ ALL_LINK_ARGS.append("-flto=thin")+ ALL_LINK_ARGS.append("-fvisibility=hidden")elif platform.system() == "Windows":ALL_CPPFLAGS.append("-DWINDOWS=1")else: