spielwiese
Last change
on this file since f6e134 was
f6e134,
checked in by Erik M. Bray <erik.bray@…>, 7 years ago
|
Make modules in dyn_modules require libSingular to be built first on
Windows only, and only for modules that are not being built as built-in
modules.
|
-
Property mode set to
100755
|
File size:
540 bytes
|
Line | |
---|
1 | AC_DEFUN([SING_WIN_FLAGS], [ |
---|
2 | dnl To ensure that $enable_shared is defined |
---|
3 | AC_REQUIRE([LT_INIT]) |
---|
4 | |
---|
5 | AC_CANONICAL_HOST |
---|
6 | |
---|
7 | dnl Maybe necessary for mingw as well but haven't tested |
---|
8 | case $host_os in |
---|
9 | *cygwin* | *mingw*) os_win32=yes;; |
---|
10 | *) os_win32=no;; |
---|
11 | esac |
---|
12 | |
---|
13 | AC_SUBST(SINGULAR_LDFLAGS) |
---|
14 | |
---|
15 | if test x$os_win32 = xyes; then |
---|
16 | AX_APPEND_LINK_FLAGS([-Wl,-Bdynamic]) |
---|
17 | dnl libtool requires "-no-undefined" for win32 dll |
---|
18 | SINGULAR_LDFLAGS="$SINGULAR_LDFLAGS -no-undefined" |
---|
19 | fi |
---|
20 | |
---|
21 | AM_CONDITIONAL([SING_WIN], [test x$os_win32 = xyes]) |
---|
22 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.