aboutsummaryrefslogtreecommitdiffstats
path: root/community/fs-uae/fix-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/fs-uae/fix-musl.patch')
-rw-r--r--community/fs-uae/fix-musl.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/fs-uae/fix-musl.patch b/community/fs-uae/fix-musl.patch
new file mode 100644
index 00000000000..31e1c177c36
--- /dev/null
+++ b/community/fs-uae/fix-musl.patch
@@ -0,0 +1,14 @@
+--- a/src/dlopen.cpp
++++ b/src/dlopen.cpp
+@@ -13,6 +13,11 @@
+ #include "od-win32/win32.h"
+ #endif
+
++#ifndef RTLD_DEEPBIND
++// musl neither defines nor can use RTLD_DEEPBIND
++#define RTLD_DEEPBIND 0
++#endif
++
+ UAE_DLHANDLE uae_dlopen(const TCHAR *path)
+ {
+ UAE_DLHANDLE result;