made c-compiler configurable, and added /usr/local as include path for cc and c++ tests
This commit is contained in:
parent
53deedc242
commit
94bf490a79
4 changed files with 5 additions and 6 deletions
|
|
@ -210,7 +210,8 @@ clixon_plugin_init(clicon_handle h)
|
|||
EOF
|
||||
|
||||
new "compile $cfile"
|
||||
cc -g -Wall -rdynamic -fPIC -shared $cfile -o $sofile
|
||||
# -I /usr/local_include for eg freebsd
|
||||
expectpart "$($CC -g -Wall -rdynamic -fPIC -shared -I/usr/local/include $cfile -o $sofile)" 0 ""
|
||||
|
||||
new "test params: -s running -f $cfg"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue