diff options
-rw-r--r-- | Makefile.in | 1 | ||||
-rwxr-xr-x | solenv/bin/install-gdb-printers | 16 | ||||
-rwxr-xr-x | solenv/bin/linkoo | 2 |
3 files changed, 11 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in index 2b5eb5c31f5e..b7fd5f505470 100644 --- a/Makefile.in +++ b/Makefile.in @@ -32,7 +32,6 @@ dev-install: build ln -s "$$SOLARVER/$$INPATH"/installation/opt/ \ "@abs_builddir@"/install && \ printf '\n' && \ - install-gdb-printers -L && \ printf \ '\nDeveloper installation finished, you can now execute:\n\n' \ && \ 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); |