aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index da2aa7f..3e44de2 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -1,8 +1,11 @@
# next line has to be edited manually
PD_DIR = $(ROOT_DIR)/../../pd/src
-# FIXME ./configure should set this (or not) before "include Makefile.sources"
-TCL_LIB = -l`grep -osm1 'tcl8\.[345]' $(PD_DIR)/makefile`
+# remove this restriction LATER, when TCL_LIB is ./configured
+ifeq ($(shell whoami),krzYszcz)
+# TCL_LIB should be set (or not) before "include Makefile.sources"
+TCL_LIB = -l$(shell grep -osm1 'tcl8\.[345]' $(PD_DIR)/makefile)
+endif
OS_NAME = $(shell uname -s)
ifneq ($(OS_NAME),Linux)