#!/bin/bash
# Copyright (c) 2000-2020 Synology Inc. All rights reserved.

echo "Error: Please review this virtual install script and remove this line."
exit 1

if [ -z ${INST_DIR+x} ]; then
	export INST_DIR=$TmpInstDir
fi

make DESTDIR="${INST_DIR}" install_runtime_libs install_ssldirs

rm -rf "${INST_DIR}"/usr/lib/{engines-3,pkgconfig,*.*a}

if [ "x$NOSTRIP" != "xNOSTRIP" ]; then
	$STRIP "${INST_DIR}"/usr/lib/libcrypto.so.3
	$STRIP "${INST_DIR}"/usr/lib/libssl.so.3
fi
