mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
Make sure to define __SCM_IMPORT__ for shared library
build on Win32. Disable preloaded symbols on Win2 platforms.
This commit is contained in:
parent
ec65f5dadc
commit
d7db9f60c2
1 changed files with 4 additions and 1 deletions
|
@ -46,6 +46,9 @@
|
|||
based on the list of installed, statically linked libraries on the
|
||||
system. For now, please don't put interesting code in here. */
|
||||
|
||||
#ifdef __MINGW32__
|
||||
# define __SCM_IMPORT__ 1
|
||||
#endif
|
||||
#include <libguile.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
@ -85,7 +88,7 @@ inner_main (void *closure SCM_UNUSED, int argc, char **argv)
|
|||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
#ifdef DYNAMIC_LINKING
|
||||
#if defined (DYNAMIC_LINKING) && !defined (__MINGW32__)
|
||||
LTDL_SET_PRELOADED_SYMBOLS ();
|
||||
#endif
|
||||
scm_boot_guile (argc, argv, inner_main, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue