@@ -78,10 +78,11 @@
## Optional Arguments
set build_packages [list]
set build_options(threaded) 0
set build_options(kitdll) 0
set build_options(debug) 0
+ set build_options(dynamictk) 0
foreach arg [array names args] {
switch -glob -- $arg {
"option_package_*" {
set package [join [lrange [split $arg _] 2 end] _]
@@ -94,10 +95,13 @@
set build_options(kitdll) 1
}
"option_debug" {
set build_options(debug) 1
}
+ "option_dynamictk" {
+ set build_options(dynamictk) 1
+ }
"option_storage" {
switch -- $args($arg) {
"mk4" - "zip" - "cvfs" {
set build_options(storage) $args($arg)
}
@@ -322,10 +326,11 @@
Package: puts -nonewline $packages($package) ?>
} ?>
Kit: Threaded
Kit: Debugging Build
Kit: Build Library (KitDLL)
+ Kit: Always link Tk dynamically (if Tk is built)