October 4, 2021 7:21 PM, "Zebediah Figura" zfigura@codeweavers.com wrote:
diff --git a/dlls/winegstreamer/Makefile.in b/dlls/winegstreamer/Makefile.in index e35df3cf3f9..95c2d885482 100644 --- a/dlls/winegstreamer/Makefile.in +++ b/dlls/winegstreamer/Makefile.in @@ -3,7 +3,9 @@ UNIXLIB = winegstreamer.so IMPORTS = strmbase strmiids uuid ole32 mfuuid DELAYIMPORTS = mfplat EXTRAINCL = $(GSTREAMER_CFLAGS) -EXTRALIBS = $(GSTREAMER_LIBS) $(PTHREAD_LIBS) +# GLib pins some of its own libraries, and breaks if libraries that import it +# try to initialize themselves after being unloaded. +EXTRALIBS = $(GSTREAMER_LIBS) $(PTHREAD_LIBS) -Wl,-z,nodelete
This needs a configure check--especially since it won't work on macOS.
Chip