From bd421b40eeaf509e5273838390e98c09a114e9d5 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Thu, 26 Sep 2013 14:03:15 -0500 Subject: [PATCH] Define GC_NOT_DLL for included boehm on win32. This commit licensed as MIT/X11. --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index c806492e281..5141a3b4e2b 100644 --- a/configure.in +++ b/configure.in @@ -1034,6 +1034,11 @@ case "x$gc" in BOEHM_DEFINES="-DHAVE_BOEHM_GC -DHAVE_GC_H -DUSE_INCLUDED_LIBGC -DHAVE_GC_GCJ_MALLOC -DHAVE_GC_ENABLE" + if test x$target_win32 = xyes; then + BOEHM_DEFINES="$BOEHM_DEFINES -DGC_NOT_DLL" + CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DGC_BUILD -DGC_NOT_DLL" + fi + gc_msg="bundled Boehm GC with typed GC" if test x$enable_parallel_mark = xyes; then AC_DEFINE_UNQUOTED(DEFAULT_GC_NAME, "Included Boehm (with typed GC and Parallel Mark)", [GC description]) -- 2.11.4.GIT