vcpkg/ports/openal-soft/dont-export-symbols-in-static-build.patch
2017-07-25 15:56:17 +02:00

14 lines
344 B
Diff

diff --git a/config.h.in b/config.h.in
index a71b54f..8d84645 100644
--- 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 any available alignment declaration */
#define ALIGN(x) ${ALIGN_DECL}