diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-21 14:29:11 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-21 14:29:11 +0200 |
commit | 4ca4ba21ccfb6c415462d5a748e7dee5a82121e0 (patch) | |
tree | 472e4880f8a6de55d43b00a04283b203d7fe36b7 /configure.ac | |
parent | 6f166676c7cbd9fd572ffa2938f3737436a10f42 (diff) | |
download | sciteco-4ca4ba21ccfb6c415462d5a748e7dee5a82121e0.tar.gz |
disable shared libraries by default
* This is necessary to fix the Unicode test suite on Win32,
so I was always passing in --disable-shared manually.
It's easy to forget though when building from scratch.
* We don't currently install any (shared) library, so this is safe
on all platforms.
In fact on all other platforms, libtool detects that and doesn't
generate wrapper binaries in any way.
Only on win32 it's apparently buggy.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index d94e5bf..d9dd7e0 100644 --- a/configure.ac +++ b/configure.ac @@ -47,7 +47,12 @@ canonicalize() { } # Checks for programs. -LT_INIT +# +# Disable shared libraries by default (--disable-shared). +# We don't install any library, so this __should__ not matter. +# In reality Libtool builds unnecessary wrapper binaries on win32 (MinGW) without this. +# These wrapper binaries do not handle UTF-8 properly and break the test suite. +LT_INIT([disable-shared]) # FIXME: Check for -std=gnu11? AC_PROG_CC AC_PROG_SED |