Browse Source

* fixed libjpeg to not use libtool from the host while cross-compiling

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20597 10447126-35f2-4685-b0cf-6dd780d3921f
early
Christian Wiese 18 years ago
parent
commit
08d87fbf42
  1. 6
      graphic/libjpeg/libjpeg.conf

6
graphic/libjpeg/libjpeg.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libjpeg/libjpeg.conf
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf
#
@ -14,6 +14,10 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# avoid to use the libtool from the host while cross-compiling
atstage cross && hook_add preconf 5 'sed -i -e \
"s,^[ \t]*\(LIBTOOL\)=.*,\1=$root/usr/bin/libtool," configure'
if [ "$SDECFG_STATIC" != 1 ] ; then
var_append confopt " " "--enable-shared"
fi

Loading…
Cancel
Save