package/berkeleydb: fix shared-only build

Changeset f1d3e09 (Build shared libraries only as the default) broke the
berkeleydb package.

For some reason, we had a very strange post-configure action in bdb:
        $(SED) 's/\.lo/.o/g' $(@D)/build_unix/Makefile

This means that it is using non-libtool object files. This breaks
building shared-only.

This code has been present almost the whole time we've had a berkeleydb
package, that is:
  - November 2003: use a sed expression instead of perl
  - March 2003   : use a perl program
  - August 2002  : introduce berkeleydb

Getting rid of this sed expression fixes the build, and allows building
the three new static/shared combinations: static only, shared only,
both static and shared.

Fixes numerous build failures:

Signed-off-by: "Yann E. MORIN" <>
Cc: Thomas Petazzoni <>
Cc: Peter Korsgaard <>
Signed-off-by: Peter Korsgaard <>
Yann E. MORIN 2014-12-12 19:18:51 +01:00 committed by Peter Korsgaard
parent 41d987dcc1
commit 8c3f1d5102
1 changed files with 0 additions and 1 deletions

View File

@ -41,7 +41,6 @@ define BERKELEYDB_CONFIGURE_CMDS
--with-pic \
--enable-o_direct \
$(SED) 's/\.lo/.o/g' $(@D)/build_unix/Makefile