diff options
Diffstat (limited to 'Build/source/libs/teckit/configure')
-rwxr-xr-x | Build/source/libs/teckit/configure | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Build/source/libs/teckit/configure b/Build/source/libs/teckit/configure index b958ff03459..9979b4d0311 100755 --- a/Build/source/libs/teckit/configure +++ b/Build/source/libs/teckit/configure @@ -6005,13 +6005,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 |