Skip to content

Commit

Permalink
fix header env vars and disable them by default
Browse files Browse the repository at this point in the history
  • Loading branch information
skoro committed Oct 22, 2022
1 parent 87bc716 commit 5dbaba5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ THEME=auto
# These are FFI headers not original ones from the Tcl/Tk source distribution.
# Normally headers are in `src/headers` directory but you can
# override to yours.
TCL_C_HEADER=tcl86.h
TK_C_HEADER=tk86.h
# TCL_HEADER=tcl86.h
# TK_HEADER=tk86.h

# Windows Tcl/Tk shared libs (dll).
#
Expand Down
2 changes: 1 addition & 1 deletion tests/TclInterp.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ protected function setUp(): void
$env = DotEnv::create($rootDir);

$os = OS::family();
$hFile = $env->getValue('TCL_C_HEADER', $defaultTclH);
$hFile = $env->getValue('TCL_HEADER', $defaultTclH);
$shared = $env->getValue($os . '_LIB_TCL');
if (empty($shared)) {
switch ($os) {
Expand Down

0 comments on commit 5dbaba5

Please sign in to comment.