aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-09-21 14:29:11 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-09-21 14:29:11 +0200
commit4ca4ba21ccfb6c415462d5a748e7dee5a82121e0 (patch)
tree472e4880f8a6de55d43b00a04283b203d7fe36b7 /src
parent6f166676c7cbd9fd572ffa2938f3737436a10f42 (diff)
downloadsciteco-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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 51bbe0a..eb3c0b4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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, "");