12 lines
237 B
Plaintext
12 lines
237 B
Plaintext
|
#!/bin/sh
|
||
|
set -eu
|
||
|
|
||
|
libs='libcrypto libtls ncursesw'
|
||
|
pkg-config --print-errors $libs
|
||
|
|
||
|
cat >config.mk <<EOF
|
||
|
CFLAGS += $(pkg-config --cflags $libs)
|
||
|
LDFLAGS += $(pkg-config --libs-only-L $libs)
|
||
|
LDLIBS = $(pkg-config --libs-only-l $libs)
|
||
|
EOF
|