From fde1fc9d0c36286a8589f860c445d6c96c1a308b Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 20 Apr 2024 13:39:37 +0200 Subject: [PATCH] move pemtrans compile to install script --- cryptlib/install-v1.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cryptlib/install-v1.sh b/cryptlib/install-v1.sh index 432383c..187f384 100644 --- a/cryptlib/install-v1.sh +++ b/cryptlib/install-v1.sh @@ -41,14 +41,15 @@ EXTRA_LIBS = -lresolv -lpthread INCLUDES = -I../cryptlib-3.4.5 pemtrans: pemtrans.c - gcc9 $(INCLUDES) $(LIBS) -o pemtrans pemtrans.c $(CRYPTLIB) \ + gcc $(INCLUDES) $(LIBS) -o pemtrans pemtrans.c $(CRYPTLIB) \ -lcrypto -lssl -lcl $(EXTRA_LIBS) EOF pushd $MSTEMPDIR/pemtrans-master &>/dev/null -cp pemtrams ${MYSTIC_DIR}/ -cp pemtrans.1 ${MYSTIC_DIR}/docs/ -cp README ${MYSTIC_DIR}/docs/pemtrans_README +make &>/dev/null +cp pemtrams ${MYSTIC_DIR}/ &>/dev/null +cp pemtrans.1 ${MYSTIC_DIR}/docs/ &>/dev/null +cp README ${MYSTIC_DIR}/docs/pemtrans_README &>/dev/null popd &>/dev/null apt purge -y gcc g++ cpp &>/dev/null