Check-in [73ac42ec6a]
Overview
Comment:Slightly better handling of linkadd, may need to make this more generic in the future
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 73ac42ec6a14b220829da4efcfd20411f2076829
User & Date: rkeene on 2019-01-22 22:52:08
Other Links: manifest | tags
Context
2019-01-22
22:57
Better handling of host platform detection check-in: e49dbb5c95 user: rkeene tags: trunk
22:52
Slightly better handling of linkadd, may need to make this more generic in the future check-in: 73ac42ec6a user: rkeene tags: trunk
2019-01-18
20:05
Upgrade to Nano 1.2 check-in: 888ee5cc7a user: rkeene tags: trunk
Changes

Modified lmdb/build.sh from [6456b2e9b0] to [2f79707b46].

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
}

Added lmdb/patches/tcl-lmdb-0.4.0-fixrobust.diff version [672b2e5046].











































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --no-dereference -uNr tcl_lmdb-0.4.0.orig/Makefile.in tcl_lmdb-0.4.0-fixrobust/Makefile.in
--- tcl_lmdb-0.4.0.orig/Makefile.in	2018-06-22 10:17:46.000000000 -0500
+++ tcl_lmdb-0.4.0-fixrobust/Makefile.in	2019-01-22 15:51:11.244784351 -0600
@@ -149,17 +149,6 @@
 
 PKG_CFLAGS	= @PKG_CFLAGS@
 
-# Workaround for glibc pthread robust mutex support (glibc < 2.12) fix
-ifneq ("$(OS)","Windows_NT")
-UNAME_S := $(shell uname -s)
-ifeq ($(UNAME_S),Linux)
-GLIBCCHECK := $(shell expr `ldd --version | grep ^ldd | sed 's/^.* //g'` \< 2.12)
-ifeq "$(GLIBCCHECK)" "1"
-        PKG_CFLAGS += -DMDB_USE_ROBUST=0
-endif
-endif
-endif
-
 # TCL_DEFS is not strictly need here, but if you remove it, then you
 # must make sure that configure.ac checks for the necessary components
 # that your library may use.  TCL_DEFS can actually be a problem if