We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9db46bf commit 836560aCopy full SHA for 836560a
subprojects/packagefiles/discord_social_sdk/impl.cpp
@@ -0,0 +1,3 @@
1
+
2
+#define DISCORDPP_IMPLEMENTATION
3
+#include "./discordpp.h"
subprojects/packagefiles/discord_social_sdk/meson.build
@@ -86,10 +86,10 @@ discord_partner_sdk = c.find_library(
86
required: true,
87
)
88
89
-discord_social_sdk_lib = library(
+## NOTE: this is a static library, as it doesn't export the symbols correctly, so on windows the dll would fail to link
90
+discord_social_sdk_lib = static_library(
91
'discord_social_sdk',
- header_files,
92
- cpp_args: ['-DDISCORDPP_IMPLEMENTATION'],
+ files('impl.cpp'),
93
include_directories: inc_dirs,
94
dependencies: discord_partner_sdk,
95
install: true,
0 commit comments