summaryrefslogtreecommitdiff
path: root/fedora_setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fedora_setup.sh')
-rwxr-xr-xfedora_setup.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/fedora_setup.sh b/fedora_setup.sh
new file mode 100755
index 0000000..76d1f59
--- /dev/null
+++ b/fedora_setup.sh
@@ -0,0 +1,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 $*
+