Browse Source

libprelude: improved to disable python support if python is not installed effectively

Note:

This change needs to be introduced because when cross-compiling configure
detects the python installation from the host which leads to enabling
python support even if there is no python installed in the target.
user/chris/wip/linux37
Christian Wiese 12 years ago
parent
commit
5995d120df
  1. 6
      security/libprelude/libprelude.conf

6
security/libprelude/libprelude.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libprelude/libprelude.conf
# Copyright (C) 2011 - 2012 The OpenSDE Project
# Copyright (C) 2011 - 2013 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -18,6 +18,10 @@ if pkginstalled perl; then
var_append extraconfopt ' ' "--with-perl-installdirs=vendor"
fi
if ! pkginstalled -f python; then
var_append extraconfopt ' ' "--without-python"
fi
# we need swig to regenerate the binding sources and without it
# building the "easy bindings" (high level API) will fail
if pkginstalled -f swig; then

Loading…
Cancel
Save