Such as Linux/BSD's.
Matches the Windows/macOS behaviour.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1662>
g_free (base_dir);
}
-#elif defined(__APPLE__) && defined(HAVE_DLADDR)
+#elif defined(HAVE_DLADDR)
{
Dl_info info;
return NULL;
}
}
+#else
+#warning "Unsupported platform for retrieving the current location of a\
+ shared library. Relocatable builds will not work."
+ GST_WARNING ("Don't know how to retrieve the location of the shared "
+ "library libgstreamer-" GST_API_VERSION);
#endif
return dir;