1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#! /usr/bin/env bash
# BuildCompatible: KitCreator
version="0.4.0"
url="https://github.com/ray2501/tcl-lmdb/archive/${version}.tar.gz"
sha256='d19a19376da6716a1ed159a918e631030491f8b6a4ef9e72a4221481b24b2e40'
function postinstall() {
local name
find "${installdir}" -type -f -name '*.a' | while IFS='' read -r name; do
echo '-lntdll' > "${name}.linkadd"
done
}
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
|
|
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#! /usr/bin/env bash
# BuildCompatible: KitCreator
version="0.4.0"
url="https://github.com/ray2501/tcl-lmdb/archive/${version}.tar.gz"
sha256='d19a19376da6716a1ed159a918e631030491f8b6a4ef9e72a4221481b24b2e40'
function postinstall() {
local name
local isWindows
# Windows-only
isWindows='false'
if [ "${KC_CROSSCOMPILE}" = '1' ]; then
case "${KC_CROSSCOMPILE_HOST_OS}" in
*-cygwin|*-mingw32|*-mingw32-*|*-cygwin-*)
isWindows='true'
;;
esac
else
case "${OSTYPE}" in
msys|win*|cygwin)
isWindows='true'
;;
esac
fi
if [ "${isWindows}" = 'true' ]; then
find "${installdir}" -type -f -name '*.a' | while IFS='' read -r name; do
echo '-lntdll' > "${name}.linkadd"
done
fi
}
|