blob: 90e11738d307c683c818dcd4b8e001c291530b52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/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
|