summaryrefslogtreecommitdiff
path: root/Build/source/texk/lcdf-typetools
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-02-20 08:31:22 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-02-20 08:31:22 +0000
commit30ee1d84a554811d5fef2188b46f0a1fdc2e8e73 (patch)
treec82e5c945dfdb9c93db02d18d4b7e04c3236fba5 /Build/source/texk/lcdf-typetools
parentdb0cea69b97cd9a77eda8b3681bd5549557c9854 (diff)
Adapt cxx-runtime-hack for 32- and 64-bit Cygwin
git-svn-id: svn://tug.org/texlive/trunk@33005 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/lcdf-typetools')
-rwxr-xr-xBuild/source/texk/lcdf-typetools/configure15
1 files changed, 8 insertions, 7 deletions
diff --git a/Build/source/texk/lcdf-typetools/configure b/Build/source/texk/lcdf-typetools/configure
index a265594cbd3..a575cc41f4b 100755
--- a/Build/source/texk/lcdf-typetools/configure
+++ b/Build/source/texk/lcdf-typetools/configure
@@ -17429,13 +17429,14 @@ cout <<"worksok\n";
return 0;
}
_ACEOF
- case $host in
- *cygwin*) flags_try0='-static -static-libgcc';
- flags_try1='-lstdc++'; flags_try2=$flags_try1;;
- *) flags_try0='-nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm'
- flags_try1='-lgcc_eh -lgcc -lc -lgcc_eh -lgcc'
- flags_try2='-lgcc -lc -lgcc';;
- esac
+ case $host in #(
+ *cygwin*) :
+ flags_try0='-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic' ;; #(
+ *) :
+ flags_try0='-nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm'
+ flags_try1='-lgcc_eh -lgcc -lc -lgcc_eh -lgcc'
+ flags_try2='-lgcc -lc -lgcc' ;;
+esac
kpse_save_LIBS=$LIBS
cpp_link_hack=false
for flags in "$flags_try1" "$flags_try2"; do