Don't hardcode tcl library version
authorgatecat <gatecat@ds0.me>
Mon, 3 Jan 2022 19:21:36 +0000 (19:21 +0000)
committergatecat <gatecat@ds0.me>
Mon, 3 Jan 2022 19:28:46 +0000 (19:28 +0000)
Signed-off-by: gatecat <gatecat@ds0.me>
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