mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(expect)
needs to find tcl libs
This commit is contained in:
parent
bf95279b8d
commit
617041bf1d
|
@ -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!'
|
||||||
|
|
Loading…
Reference in a new issue