fix CYGWIN compilation
This commit is contained in:
parent
fd64559643
commit
8340ee4cb1
2
C/load_dl.c
Normal file → Executable file
2
C/load_dl.c
Normal file → Executable file
@ -46,8 +46,10 @@ Yap_LoadForeignFile(char *file, int flags)
|
||||
dlflag = RTLD_LAZY;
|
||||
if (flags & GLOBAL_LOADING)
|
||||
dlflag |= RTLD_GLOBAL;
|
||||
#ifndef __CYGWIN__
|
||||
else
|
||||
dlflag |= RTLD_LOCAL;
|
||||
#endif
|
||||
|
||||
out = (void *)dlopen(file,dlflag);
|
||||
if (!out) {
|
||||
|
3
configure
vendored
3
configure
vendored
@ -5100,6 +5100,7 @@ _ACEOF
|
||||
|
||||
fi
|
||||
|
||||
EXTRA_LIBS_FOR_DLLS="\$(abs_top_builddir)/yap.dll"
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lwsock32" >&5
|
||||
$as_echo_n "checking for main in -lwsock32... " >&6; }
|
||||
@ -7112,7 +7113,7 @@ fi
|
||||
INSTALL_DLLS=""
|
||||
DO_SECOND_LD=""
|
||||
MERGE_DLL_OBJS=""
|
||||
IN_UNIX="#"
|
||||
IN_UNIX="#"
|
||||
YAPLIB_LD="\$(CC) -shared -Wl,--export-all-symbols"
|
||||
PRE_INSTALL_ENV=""
|
||||
INSTALL_ENV=""
|
||||
|
3913
configure.in
3913
configure.in
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user