summaryrefslogtreecommitdiffhomepage
path: root/patches/smallbasic/dlopen.patch
blob: 8bc3a5b1fa68500b9313c43b76f7667ec2e67397 (plain)
1
2
3
4
5
6
7
8
9
10
11
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"