summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 28717d97e..dec303e51 100755
--- a/configure
+++ b/configure
@@ -899,7 +899,7 @@ fi
if test $has_tk = true; then
echo "TK_DEFS=$tk_defs" >> Makefile
- echo "TK_LINK=$tk_libs" | sed -e 's/-l/-cclib -l/g' >> Makefile
+ echo "TK_LINK=$tk_libs" | sed -e 's/-[lL]/-cclib &/g' >> Makefile
otherlibraries="$otherlibraries labltk"
else
echo "Configuration failed, LablTk will not be built."