about summary refs log tree commit diff homepage
path: root/Makefile.common
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2014-10-22 10:28:46 +0200
committerDan Liew <daniel.liew@imperial.ac.uk>2014-11-01 21:04:27 +0000
commit155eae5f80b83786daf693c92f787ccd2a51af10 (patch)
treebe3f683665113a1101e63a24c13f490768bb7cf4 /Makefile.common
parent5b3d62b48169dd8dcffe374a565891a99e434c79 (diff)
downloadklee-155eae5f80b83786daf693c92f787ccd2a51af10.tar.gz
configure: allow stp being installed in /
I have stp in standard paths: /usr/include and /usr/lib64. Allow that
by correct STP_CFLAGS + STP_LDFLAGS instead of STP_ROOT. Those are
empty when --with-stp is not passed.

configure is regenerated by autoconf too.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index e6de9f1e..92f5118b 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -38,8 +38,8 @@ endif
 # This is filename that KLEE will look for when trying to load klee-uclibc
 KLEE_UCLIBC_BCA_NAME="klee-uclibc.bca"
 
-LD.Flags += -L$(STP_ROOT)/lib
-CXX.Flags += -I$(STP_ROOT)/include
+LD.Flags += $(STP_LDFLAGS)
+CXX.Flags += $(STP_CFLAGS)
 CXX.Flags += -DKLEE_DIR=\"$(PROJ_OBJ_ROOT)\" -DKLEE_INSTALL_BIN_DIR=\"$(PROJ_bindir)\"
 CXX.Flags += -DKLEE_INSTALL_LIB_DIR=\"$(PROJ_libdir)\"