From 57a9452ad5a0d3714c939933cf5486cb29e4320a Mon Sep 17 00:00:00 2001 From: Beeno Tung Date: Sun, 17 Dec 2017 16:45:34 +0800 Subject: [PATCH] added configure for archlinux --- configure | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 configure diff --git a/configure b/configure new file mode 100755 index 0000000..6198b3e --- /dev/null +++ b/configure @@ -0,0 +1,9 @@ +#!/bin/bash +set -e + +## for archlinux +## detail see https://github.com/samr7/vanitygen/issues/106 +if [ -f /etc/pacman.conf ]; then + sed -r -i "s,(CFLAGS=.*),\1 -I/usr/include/openssl-1.0," Makefile + sed -r -i "s,(LIBS=.*),\1 -L/usr/lib/openssl-1.0," Makefile +fi