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 /src | |
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 'src')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -307,6 +307,11 @@ main(int argc, char **argv) * Important for Unicode handling in curses and glib. * In particular, in order to accept Unicode characters * in option strings. + * + * NOTE: Windows 10 accepts ".UTF8" here, so the "ANSI" + * versions of win32 API functions accept UTF-8. + * We want to support older versions, though and + * glib happily converts to Windows' native UTF-16. */ setlocale(LC_ALL, ""); |