blob: 3ff82b0b81a96799e63a5aec7e0674fb09637948 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|