Commit 479148da authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

modify workaround for bug in LibreOffice 3.5 so that it works with the system...

modify workaround for bug in LibreOffice 3.5 so that it works with the system whose gcc is less than 4.5.
parent 98ed5440
[buildout]
extends =
../cpio/buildout.cfg
../gcc/buildout.cfg
../rpm2cpio/buildout.cfg
parts =
......@@ -44,9 +45,14 @@ script =
os.mkdir(os.path.join(location, 'basis-link'))
os.symlink(os.path.join('..', 'program'), os.path.join(location, 'basis-link', 'program'))
# temporary workaround for https://bugs.freedesktop.org/show_bug.cgi?id=45696
# copy GCC 4.5's libgcc_s.so and libstdc++.so to ure/lib directory.
ARCH_LIBDIR_MAP = { 'x86': 'lib', 'x86-64': 'lib64' }
os.unlink(os.path.join(location, 'ure', 'lib', 'libgcc_s.so.1'))
os.symlink(os.path.join('${:gcc_4_5_location}', ARCH_LIBDIR_MAP[platform], 'libgcc_s.so.1'), os.path.join(location, 'ure', 'lib', 'libgcc_s.so.1'))
os.unlink(os.path.join(location, 'ure', 'lib', 'libstdc++.so.6'))
os.symlink(os.path.join('${:gcc_4_5_location}', ARCH_LIBDIR_MAP[platform], 'libstdc++.so.6'), os.path.join(location, 'ure', 'lib', 'libstdc++.so.6'))
# helper binaries
cpio = ${cpio:location}/bin/cpio
rpm2cpio = ${rpm2cpio:target}
gcc_4_5_location = ${gcc-java-minimal:location}
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