pineapple/externals/vcpkg/ports/openal-soft/dont-export-symbols-in-static-build.patch
2022-07-23 03:01:36 +02:00

13 lines
No EOL
323 B
Diff
Executable file

diff --git a/config.h.in b/config.h.in
--- a/config.h.in
+++ b/config.h.in
@@ -1,6 +1,8 @@
/* API declaration export attribute */
+#ifndef AL_LIBTYPE_STATIC
#define AL_API ${EXPORT_DECL}
#define ALC_API ${EXPORT_DECL}
+#endif
/* Define if HRTF data is embedded in the library */
#cmakedefine ALSOFT_EMBED_HRTF_DATA