Make the test-dynload test work in the X11 version on MacOSX.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23456 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Mike Alexander 2013-11-29 06:24:13 +00:00
parent f50cceace8
commit 27424d0e1c
2 changed files with 2 additions and 1 deletions

View File

@ -331,6 +331,7 @@ update to latest darwin])
;;
darwin*)
platform=darwin
AC_DEFINE(PLATFORM_OSX,1,[Running on OSX, either X11 or Quartz])
AC_MSG_RESULT($platform)
AC_MSG_CHECKING(For GDK-Quartz)
platform=osx

View File

@ -28,7 +28,7 @@ guile_main(void *closure, int argc, char ** argv)
#ifdef G_OS_WIN32
/* MinGW builds libgnc-module-0.dll */
modpath = g_module_build_path ("../.libs", "gnc-module-0");
#elif defined GDK_QUARTZ
#elif defined(PLATFORM_OSX)
/* We build libgnc-module as a shared library for testing, and on OSX
* that means that g_module_build_path (), which uses ".so", doesn't
* build the right path name.