summaryrefslogtreecommitdiff
path: root/libicui18n/libicui18n/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-15 03:27:02 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-15 03:27:02 +0300
commit29827fde524a42fe343b32ea3c2f543e9ed3ee55 (patch)
treee0c47c289a4f9f16793d7338d27bba92dc3f4118 /libicui18n/libicui18n/buildfile
parent10887109a7f8ebd1b0ac1fb18dc59c94d1d1307b (diff)
Release version 65.1.0+1v65.1.0+1
Drop copyright notice from source code Convert libicuuc test from C to C++ so it can link library statically Drop linking -lpthread and -lm for MinGW GCC
Diffstat (limited to 'libicui18n/libicui18n/buildfile')
-rw-r--r--libicui18n/libicui18n/buildfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/libicui18n/libicui18n/buildfile b/libicui18n/libicui18n/buildfile
index 1c0690c..988f400 100644
--- a/libicui18n/libicui18n/buildfile
+++ b/libicui18n/libicui18n/buildfile
@@ -1,5 +1,4 @@
# file : libicui18n/buildfile
-# copyright : Copyright (c) 2018-2019 Code Synthesis Ltd
# license : Unicode License; see accompanying LICENSE file
import int_libs = libicuuc%lib{icuuc}
@@ -93,8 +92,11 @@ switch $tclass, $tsys
}
case 'windows', 'mingw32'
{
- cxx.loptions += -Wl,-Bsymbolic -Wl,--enable-auto-import
- cxx.libs += -lpthread -lm
+ # Note that we ommit -mthreads, -lpthread, and -lm that the upstream
+ # package also passes (see libicuuc/libicu/buildfile for details).
+ #
+ cxx.loptions += -Wl,-Bsymbolic -Wl,--enable-auto-import \
+ -Wl,--no-undefined # Make sure all symbols are resolvable.
}
case 'windows'
{