aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-06-02 12:46:18 -0600
committernytpu <alex@nytpu.com>2021-06-02 12:46:36 -0600
commitce049497046a56ef4c247cfbff7aea98314aebd3 (patch)
tree8cae786c3e1dfc932b85e87d342f41574d977446 /configure
parentmove error() to common.h (diff)
downloaded-ce049497046a56ef4c247cfbff7aea98314aebd3.tar.bz2
ed-ce049497046a56ef4c247cfbff7aea98314aebd3.zip
fix configure script
Diffstat (limited to '')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 6ad7a73..3d17fec 100755
--- a/configure
+++ b/configure
@@ -20,8 +20,8 @@ set_macro() {
add_lib() {
${pkgconfig} --print-errors "$@"
- cflags $(${pkgconfig} --cflags "$@")
- for lib in "$@"; do ldadd "$lib" $(${pkgconfig} --libs "$lib"); done
+ add_cflags $(${pkgconfig} --cflags "$@")
+ for lib in "$@"; do add_ld $(${pkgconfig} --libs "$lib"); done
}
# save stdout and redirec to config.mk