Browse Source

bdb: fixed cross-compiling by not building C++ glue

At this stage we do not have a proper C++ compiler :/
stable/0.6
Christian Wiese 11 years ago
parent
commit
e95ba93c8b
  1. 7
      database/bdb/bdb-conf.in

7
database/bdb/bdb-conf.in

@ -3,6 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../bdb/bdb-conf.in # Filename: package/.../bdb/bdb-conf.in
# Copyright (C) 2014 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -50,7 +51,11 @@ if [[ $pkg = *-java ]]; then
var_append makeopt ' ' java var_append makeopt ' ' java
else else
var_append confopt ' ' '--enable-compat185' var_append confopt ' ' '--enable-compat185'
var_append confopt ' ' '--enable-cxx'
# FIXME: no C++ compiler support when cross-compiling
if atstage native; then
var_append confopt ' ' '--enable-cxx'
fi
# we need the install-sh here, since our gnu-install does not # we need the install-sh here, since our gnu-install does not
# handle the transform-name ... # handle the transform-name ...

Loading…
Cancel
Save