Commit bea2bd66 authored by Rafael Monnerat's avatar Rafael Monnerat

component/slapos: Take BUILD_DIRECTORY from buildout section

parent 721a043e
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
# You need to define rootdir and destdir on an upper level # You need to define rootdir and destdir on an upper level
#rootdir = %TARGET_DIRECTORY% #rootdir = %TARGET_DIRECTORY%
#destdir = %BUILD_ROOT_DIRECTORY% #destdir = %BUILD_ROOT_DIRECTORY%
#builddir = %BUILD_DIRECTORY%
extends = extends =
buildout.cfg buildout.cfg
...@@ -32,7 +33,7 @@ environment += ...@@ -32,7 +33,7 @@ environment +=
environment = environment =
PATH=${perl:location}/bin:${lunzip:location}/bin:%(PATH)s PATH=${perl:location}/bin:${lunzip:location}/bin:%(PATH)s
CPPFLAGS=-I${libxml2:location}/include -I${zlib:location}/include -I${ncurses:location}/include CPPFLAGS=-I${libxml2:location}/include -I${zlib:location}/include -I${ncurses:location}/include
LDFLAGS=-L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib -Wl,-rpath=%BUILD_DIRECTORY%/parts/${:_buildout_section_name_}/lib LDFLAGS=-L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib -Wl,-rpath=${buildout:builddir}/parts/${:_buildout_section_name_}/lib
[bison] [bison]
configure-options += configure-options +=
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment