123456789101112131415161718192021222324 |
- #
- # Copyright (c) Contributors to the Open 3D Engine Project.
- # For complete copyright and license terms please see the LICENSE at the root of this distribution.
- #
- # SPDX-License-Identifier: Apache-2.0 OR MIT
- #
- #
- OUT_PATH=$TARGET_INSTALL_ROOT
- SRC_PATH=temp/src
- BLD_PATH=temp/build
- # these can fail if they are already there and we're working incrementally, this is okay
- # if they fail completely, the below checks will error anyway
- mkdir -p $OUT_PATH
- mkdir -p $OUT_PATH/lib
- mkdir -p $OUT_PATH/include
- cp -f $SRC_PATH/LICENSE $OUT_PATH/ || exit 1
- cp $BLD_PATH/Release/libz.a $OUT_PATH/lib/libz.a || exit 1
- cp $BLD_PATH/zconf.h $OUT_PATH/include/zconf.h || exit 1
- cp $SRC_PATH/zlib.h $OUT_PATH/include/zlib.h || exit 1
- exit 0
|