Commit 180c6adf authored by Łukasz Nowak's avatar Łukasz Nowak

- use locally available libuuid

 - update tests for serf to assert local zlib and libuuid


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40323 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 79b7bafa
...@@ -3,6 +3,7 @@ parts = ...@@ -3,6 +3,7 @@ parts =
serf serf
extends = extends =
../software-profiles/apache.cfg ../software-profiles/apache.cfg
../software-profiles/libuuid.cfg
../software-profiles/openssl.cfg ../software-profiles/openssl.cfg
../software-profiles/zlib.cfg ../software-profiles/zlib.cfg
...@@ -15,5 +16,5 @@ configure-options = ...@@ -15,5 +16,5 @@ configure-options =
--with-apr-util=${apache:location}/bin/apu-1-config --with-apr-util=${apache:location}/bin/apu-1-config
--with-openssl=${openssl:location} --with-openssl=${openssl:location}
environment = environment =
CFLAGS=-I${zlib:location}/include CFLAGS=-I${zlib:location}/include -I${libuuid:location}/include
LDFLAGS=-L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib LDFLAGS=-L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -L${libuuid:location}/lib -Wl,-rpath -Wl,${libuuid:location}/lib
...@@ -341,7 +341,7 @@ class AssertSerf(AssertSoftwareMixin): ...@@ -341,7 +341,7 @@ class AssertSerf(AssertSoftwareMixin):
elf_dict['library_list']) elf_dict['library_list'])
soft_dir = os.path.join(os.path.abspath(os.curdir), 'parts') soft_dir = os.path.join(os.path.abspath(os.curdir), 'parts')
expected_rpath_list = [os.path.join(soft_dir, software, 'lib') for expected_rpath_list = [os.path.join(soft_dir, software, 'lib') for
software in ['apache', 'openssl', 'libexpat']] software in ['apache', 'openssl', 'libexpat', 'libuuid', 'zlib']]
self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list']) self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
class AssertPythonMysql(AssertSoftwareMixin): class AssertPythonMysql(AssertSoftwareMixin):
......
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