about summary refs log tree commit diff homepage
path: root/tools/kleaver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/kleaver/Makefile')
-rw-r--r--tools/kleaver/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/kleaver/Makefile b/tools/kleaver/Makefile
index 10b19a20..a72c4c9d 100644
--- a/tools/kleaver/Makefile
+++ b/tools/kleaver/Makefile
@@ -19,7 +19,9 @@ LINK_COMPONENTS = support
 
 include $(LEVEL)/Makefile.common
 
-LIBS += $(STP_LDFLAGS)
+ifneq ($(ENABLE_STP),0)
+  LIBS += $(STP_LDFLAGS)
+endif
 
 ifeq ($(ENABLE_METASMT),1)
   include $(METASMT_ROOT)/share/metaSMT/metaSMT.makefile