summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/Makefile.am
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-02-10 23:22:35 +0000
committerKarl Berry <karl@freefriends.org>2019-02-10 23:22:35 +0000
commit28a154347592fc15db3b95b43082b30833172515 (patch)
treef75ddc79f98e9c3cf4bccab2b3217d71f819e77d /Build/source/libs/icu/Makefile.am
parent530ad3572dfbfe5a9f3c246bf678689b6b9fb7e4 (diff)
mingw cross-compilation fixes from lscarso
git-svn-id: svn://tug.org/texlive/trunk@49996 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/icu/Makefile.am')
-rw-r--r--Build/source/libs/icu/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/libs/icu/Makefile.am b/Build/source/libs/icu/Makefile.am
index 97feca96864..5947e703a70 100644
--- a/Build/source/libs/icu/Makefile.am
+++ b/Build/source/libs/icu/Makefile.am
@@ -84,7 +84,13 @@ nodist_EXTRA_icutest_SOURCES = dummy.cxx
icutest_CPPFLAGS = -Iinclude
-LDADD = icu-build/lib/libicuuc.a icu-build/lib/libicudata.a $(ICU_LIBS_EXTRA)
+LDADD = icu-build/lib/libicuuc.a
+if cross
+LDADD += icu-build/lib/libicuuc.a
+else
+icu-build/lib/libicudata.a
+endif
+LDADD += $(ICU_LIBS_EXTRA)
# Rebuild
rebuild_prereq =