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

make prefix=$TmpInstDir libdir=$TmpInstDir/${LibDir} install

if [ "x$NOSTRIP" != "xNOSTRIP" ]; then
	${STRIP} $TmpInstDir/${LibDir}/*.so
fi

rm -rf $TmpInstDir/include
rm -rf $TmpInstDir/${LibDir}/*.a
