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

make DESTDIR=$TmpInstDir install-exec

rm -rf $TmpInstDir/usr/lib/*.*a

if [ "x$NOSTRIP" != "xNOSTRIP" ]; then
	${STRIP} $TmpInstDir/usr/lib/*.so
	rm -rf $TmpInstDir/usr/bin
fi
