fix(expect)

needs to find tcl libs
This commit is contained in:
Jacob Heider 2024-04-22 12:53:07 -04:00 committed by Jacob Heider
parent bf95279b8d
commit 617041bf1d

View file

@ -19,6 +19,8 @@ interprets:
runtime: runtime:
env: env:
TCLLIBPATH: ${{prefix}}/lib TCLLIBPATH: ${{prefix}}/lib
TCL_LIBRARY: ${{deps.tcl.tk/tcl.prefix}}/lib/tcl{{deps.tcl.tk/tcl.version.marketing}}
TK_LIBRARY: ${{deps.tcl.tk/tcl.prefix}}/lib/tcl{{deps.tcl.tk/tcl.version.marketing}}
build: build:
dependencies: dependencies:
@ -45,6 +47,9 @@ build:
# Works around Apple Clang 12+ "bug" # Works around Apple Clang 12+ "bug"
# https://core.tcl-lang.org/expect/tktview/0d5b33c00e5b4bbedb835498b0360d7115e832a0 # https://core.tcl-lang.org/expect/tktview/0d5b33c00e5b4bbedb835498b0360d7115e832a0
CFLAGS: $CFLAGS -Wno-implicit-function-declaration CFLAGS: $CFLAGS -Wno-implicit-function-declaration
linux:
# otherwise configure complains
CFLAGS: $CFLAGS -Wno-implicit-int -Wno-implicit-function-declaration
test: test:
script: test "$(echo 'Hello, World!' | timed-read 1)" = 'Hello, World!' script: test "$(echo 'Hello, World!' | timed-read 1)" = 'Hello, World!'