summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 58c1ca778..936709e80 100755
--- a/configure
+++ b/configure
@@ -924,7 +924,8 @@ fi
if test $has_tk = true; then
echo "TK_DEFS=$tk_defs" >> Makefile
- echo "TK_LINK=$tk_libs" | sed -e 's/-[lL]/-cclib &/g' >> Makefile
+ echo "TK_LINK=$tk_libs" \
+ | sed -e 's/-l/-cclib &/g' -e 's/-L/-ccopt &/g' >> Makefile
otherlibraries="$otherlibraries labltk"
else
echo "Configuration failed, LablTk will not be built."