mirror of
https://github.com/termux/termux-packages.git
synced 2025-03-04 04:48:55 +00:00
19 lines
627 B
Diff
19 lines
627 B
Diff
--- ../cache/racket-6.12/src/rktio/rktio_dll.c 2017-10-12 18:23:27.000000000 +0000
|
|
+++ ./src/rktio/rktio_dll.c 2018-03-18 01:22:17.345952252 +0000
|
|
@@ -1,5 +1,6 @@
|
|
#include "rktio.h"
|
|
#include "rktio_private.h"
|
|
+#include "scheme.h"
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
@@ -77,7 +78,7 @@
|
|
}
|
|
|
|
#ifdef RKTIO_SYSTEM_UNIX
|
|
-# if defined(__CYGWIN32__) || defined(__ANDROID__)
|
|
+# if defined(__CYGWIN32__) || defined(__ANDROID__) && !defined(__x86_64__) && !defined(__aarch64__)
|
|
if (!name) { handle = RTLD_DEFAULT; null_ok = 1; } else
|
|
# endif
|
|
handle = dlopen(name, RTLD_NOW | (as_global ? RTLD_GLOBAL : RTLD_LOCAL));
|