Fossil SCM

Fix an 'auto.def' issue that prevented using --with-tcl of a static Tcl with --static.

mistachkin 2017-11-30 19:42 trunk
Commit 28fd1c1bd4e438b6ed7a31906c6f23776609ea4aff3c9aad6a9275be2f074d15
1 file changed +3
+3
--- auto.def
+++ auto.def
@@ -359,10 +359,13 @@
359359
}
360360
} else {
361361
array set tclconfig [parse-tclconfig-sh $tclpath]
362362
set msg "at $tclpath"
363363
}
364
+ if {[opt-bool static]} {
365
+ set tclconfig(TCL_LD_FLAGS) { }
366
+ }
364367
if {![info exists tclconfig(TCL_INCLUDE_SPEC)]} {
365368
user-error "Cannot find Tcl $msg"
366369
}
367370
set tclstubs [opt-bool with-tcl-stubs]
368371
if {$tclprivatestubs} {
369372
--- auto.def
+++ auto.def
@@ -359,10 +359,13 @@
359 }
360 } else {
361 array set tclconfig [parse-tclconfig-sh $tclpath]
362 set msg "at $tclpath"
363 }
 
 
 
364 if {![info exists tclconfig(TCL_INCLUDE_SPEC)]} {
365 user-error "Cannot find Tcl $msg"
366 }
367 set tclstubs [opt-bool with-tcl-stubs]
368 if {$tclprivatestubs} {
369
--- auto.def
+++ auto.def
@@ -359,10 +359,13 @@
359 }
360 } else {
361 array set tclconfig [parse-tclconfig-sh $tclpath]
362 set msg "at $tclpath"
363 }
364 if {[opt-bool static]} {
365 set tclconfig(TCL_LD_FLAGS) { }
366 }
367 if {![info exists tclconfig(TCL_INCLUDE_SPEC)]} {
368 user-error "Cannot find Tcl $msg"
369 }
370 set tclstubs [opt-bool with-tcl-stubs]
371 if {$tclprivatestubs} {
372

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button