Skip to content
Snippets Groups Projects
Commit 52e6bb93 authored by Anh Nguyen-Tuong's avatar Anh Nguyen-Tuong
Browse files

Build libzafl.so into $ZEST_RUNTIME/lib64

parent d74b0286
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ import os ...@@ -2,7 +2,7 @@ import os
Import('env') Import('env')
myenv=env.Clone() myenv=env.Clone()
myenv.Replace(SECURITY_TRANSFORMS_HOME=os.environ['SECURITY_TRANSFORMS_HOME']) myenv.Replace(ZEST_RUNTIME=os.environ['ZEST_RUNTIME'])
myenv.Replace(AFL_PATH=os.environ['AFL_PATH']) myenv.Replace(AFL_PATH=os.environ['AFL_PATH'])
files="libzafl.c" files="libzafl.c"
...@@ -14,14 +14,12 @@ cpath=''' ...@@ -14,14 +14,12 @@ cpath='''
myenv=myenv.Clone(CPPPATH=Split(cpath)) myenv=myenv.Clone(CPPPATH=Split(cpath))
#myenv.Append(CXXFLAGS = " -std=c++11 ")
if int(env['autozafl']) == 1: if int(env['autozafl']) == 1:
lib=myenv.SharedLibrary("autozafl", Split(files)) lib=myenv.SharedLibrary("autozafl", Split(files))
else: else:
lib=myenv.SharedLibrary("zafl", Split(files)) lib=myenv.SharedLibrary("zafl", Split(files))
install=myenv.Install("$SECURITY_TRANSFORMS_HOME/lib/", lib) install=myenv.Install("$ZEST_RUNTIME/lib64/", lib)
Default(install) Default(install)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment