diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-10-04 23:32:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-10-04 23:36:24 +0200 |
commit | 23af3341322143f2edde5a6c6668294c915c3ae5 (patch) | |
tree | 493fce2a4cb3f130cc1eb4adcce2a6f65698cfe2 /solenv | |
parent | d97af2c4aea25c766285259f437e0bf7985bb325 (diff) |
Some fixes for linkoo and install-gdb-printers.
- Adapted linkoo's link_gdb_py to libs moved from basis to brand layer.
- Fixed install-gdb-printers's handling of Mac OS X ".dylib" suffix.
- No need to call install-gdb-printers from top-level make dev-install;
linkoo's link_gdb_py already does that.
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/bin/install-gdb-printers | 16 | ||||
-rwxr-xr-x | solenv/bin/linkoo | 2 |
2 files changed, 11 insertions, 7 deletions
diff --git a/solenv/bin/install-gdb-printers b/solenv/bin/install-gdb-printers index b4dcd0d84b9f..eaab2e849cc2 100755 --- a/solenv/bin/install-gdb-printers +++ b/solenv/bin/install-gdb-printers @@ -29,7 +29,11 @@ GDBDIR="${SOLARENV}/gdb" SOLVERLIBDIR="${SOLARVER}/${INPATH}/lib" INSTALLDIR="${SOLARVER}/${INPATH}/installation/opt" -[ "$(uname)" = Darwin ] && INSTALLDIR=$INSTALLDIR/LibreOffice.app/Contents +DYLIB=so +if [ "$(uname)" = Darwin ]; then + INSTALLDIR=$INSTALLDIR/LibreOffice.app/Contents + DYLIB=dylib +fi die() { echo "$1" >&2 @@ -165,10 +169,10 @@ if [[ ${DESTDIR}${pythondir} != ${GDBDIR} ]]; then cp -r "${GDBDIR}/libreoffice" "${DESTDIR}${pythondir}" fi -make_autoload cppu basis-link/ure-link/lib libuno_cppu.{dylib,so}.3 -make_autoload sal basis-link/ure-link/lib libuno_sal.{dylib,so}.3 -make_autoload svl program libsvllo.{dylib,so} -make_autoload sw program libswlo.{dylib,so} -make_autoload tl program libtllo.{dylib,so} +make_autoload cppu basis-link/ure-link/lib libuno_cppu."$DYLIB".3 +make_autoload sal basis-link/ure-link/lib libuno_sal."$DYLIB".3 +make_autoload svl program libsvllo."$DYLIB" +make_autoload sw program libswlo."$DYLIB" +make_autoload tl program libtllo."$DYLIB" # vim:set shiftwidth=4 softtabstop=4 expandtab: diff --git a/solenv/bin/linkoo b/solenv/bin/linkoo index 5da680ce0633..14b595bef5d7 100755 --- a/solenv/bin/linkoo +++ b/solenv/bin/linkoo @@ -374,7 +374,7 @@ sub link_gdb_py() print STDERR "Warning: missing helpful python debug helpers\n"; } else { for my $c (@basis) { - do_link ($src, "$OOO_INSTALL/basis-link/program", $c, $c, 1); + do_link ($src, "$OOO_INSTALL/program", $c, $c, 1); } for my $c (@ure) { do_link ($src, "$OOO_INSTALL/ure/lib", $c, $c, 1); |