~ubuntu-branches/ubuntu/quantal/m2crypto/quantal

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# This script is meant to work around the differences on Fedora Core-based
# distributions (Redhat, CentOS, ...) compared to other common Linux
# distributions.
# 
# Usage: ./fedora_setup.sh [setup.py options]
#

arch=`uname -m`
for i in SWIG/_{ec,evp}.i; do
  sed -i -e "s/opensslconf\./opensslconf-${arch}\./" "$i"
done

SWIG_FEATURES=-cpperraswarn python setup.py $*