Diff

Differences From Artifact [2f79707b46]:

To Artifact [7fd6c7121b]:


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

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
}







<
|
|
|
|
|
<
<
<
<
<
<
<







8
9
10
11
12
13
14

15
16
17
18
19







20
21
22
23
24
25
26

function postinstall() {
	local name
	local isWindows

	# Windows-only
	isWindows='false'

	case "${KC_CROSSCOMPILE_HOST_OS}" in
		*-cygwin|*-mingw32|*-mingw32-*|*-cygwin-*)
			isWindows='true'
			;;
	esac








	if [ "${isWindows}" = 'true' ]; then
		find "${installdir}" -type -f -name '*.a' | while IFS='' read -r name; do
			echo '-lntdll' > "${name}.linkadd"
		done
	fi
}