Don't hardcode tcl library version
[tas-yagle.git] / distrib / share / etc / Linux.mk
index 9f060d3a65b0194ebf9f823b109dc6b66810a2b5..e0ca79b5adb8fb308d736ef14d2c63dd7191fc60 100644 (file)
@@ -123,6 +123,6 @@ SWIG             = /usr/bin/swig
 WHOLE            = -Xlinker --whole-archive
 NOWHOLE          = -Xlinker --no-whole-archive
 
-TCL_L            = -ltcl8.5
+TCL_L            = $(shell pkg-config --libs tcl)
 
 # EOF