diff options
author | C. McEnroe | 2020-02-11 02:45:50 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-11 02:45:50 -0500 |
commit | d1913a4c63ae1d44b13d530b522eec0e7ebfbfd1 (patch) | |
tree | 2747c6ef852ddd8bfbafdac04c760a19c2640fad /configure | |
parent | 15ff2a470eb4eb291d3a7271c08b130839828720 (diff) | |
parent | 1bb60065c36c97d9dcad853c0c79a836ceed24e3 (diff) |
Merge branch 'rewrite'
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure new file mode 100755 index 0000000..90e1173 --- /dev/null +++ b/configure @@ -0,0 +1,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 |