win32: Change linkage of lt_preloaded_symbols to match definition in libtool in daemo...
authorEdward Lee <e45lee@uwaterloo.ca>
Thu, 1 Oct 2020 14:22:20 +0000 (10:22 -0400)
committerArun Raghavan <arun@asymptotic.io>
Wed, 16 Dec 2020 16:05:28 +0000 (11:05 -0500)
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/360>

src/daemon/main.c

index c7c4342..1032390 100644 (file)
 #ifdef DISABLE_LIBTOOL_PRELOAD
 /* FIXME: work around a libtool bug by making sure we have 2 elements. Bug has
  * been reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29576 */
-const lt_dlsymlist lt_preloaded_symbols[] = {
+LT_DLSYM_CONST lt_dlsymlist lt_preloaded_symbols[] = {
     { "@PROGRAM@", NULL },
     { NULL, NULL }
 };