diff options
Diffstat (limited to 'patches/smallbasic')
-rw-r--r-- | patches/smallbasic/dlopen.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/smallbasic/dlopen.patch b/patches/smallbasic/dlopen.patch new file mode 100644 index 00000000..8bc3a5b1 --- /dev/null +++ b/patches/smallbasic/dlopen.patch @@ -0,0 +1,12 @@ +diff -ru SmallBASIC.orig/src/common/extlib.c SmallBASIC/src/common/extlib.c +--- SmallBASIC.orig/src/common/extlib.c 2018-08-18 16:06:03.103804486 +0200 ++++ SmallBASIC/src/common/extlib.c 2018-08-18 16:13:04.390441908 +0200 +@@ -22,7 +22,7 @@ + #define WIN_EXTLIB + #define LIB_EXT ".dll" + #define DEFAULT_PATH "c:/sbasic/lib" +-#elif defined(__linux__) && defined(_UnixOS) ++#elif defined(__linux__) || defined(__midipix__) && defined(_UnixOS) + #include <dlfcn.h> + #define LNX_EXTLIB + #define LIB_EXT ".so" |