Check-in [086eeca314]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:fix pkg index template in tclcan
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 086eeca314d30495a96cc02be096a3458a27bda5
User & Date: chw 2019-06-13 07:46:59.685
References
2019-06-26
18:25
fix unfixed check-in [086eeca314] check-in: bc1d61c542 user: chw tags: trunk
Context
2019-06-13
10:46
improve twv demo, again check-in: 3e88960bb1 user: chw tags: trunk
07:46
fix pkg index template in tclcan check-in: 086eeca314 user: chw tags: trunk
2019-06-12
13:05
improve twv demos check-in: d0fc7d3af8 user: chw tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to undroid/tclcan/pkgIndex.tcl.in.
1
2
3
4
5
6

#
# Tcl package index file, need proc can to catch the directory
# for run-time linking optional shared library libsocketcan.so
#
proc can dir { load [file join $dir @PKG_LIB_FILE@] @PACKAGE_NAME@ }
package ifneeded @PACKAGE_NAME@ @PACKAGE_VERSION@ [list can $dir]


|


<
|
>
1
2
3
4

5
6
#
# Tcl package index file, need a lambda to catch the directory
# for run-time linking optional shared library libsocketcan.so
#

package ifneeded @PACKAGE_NAME@ @PACKAGE_VERSION@ [apply {dir {
    load [file join $dir @PKG_LIB_FILE@] @PACKAGE_NAME@}} $dir]