From fb50e3379b775e69ee3db1a31bf795dd233e9a88 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Sat, 20 Mar 2021 18:56:42 +0100 Subject: Makefile: Fix flags Signed-off-by: Alejandro Colomar --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index dac1953..41d3875 100644 --- a/Makefile +++ b/Makefile @@ -201,12 +201,15 @@ LIBS_OPT += -fuse-linker-plugin LIBS_PKG_A += `pkg-config --libs --static libalx-base` LIBS_PKG_A += `pkg-config --libs --static libalx-ncurses` LIBS_PKG_A += `pkg-config --libs --static libalx-zbar` +LIBS_PKG_A += `pkg-config --libs libalx-cv` +## libalx-cv +LIBS_PKG_A += `pkg-config --libs --static libalx-gsl` -lstdc++ -lm \ + `pkg-config --libs --static libalx-base` -LIBS_PKG_SO += `pkg-config --libs libalx-ocr` -LIBS_PKG_SO += `pkg-config --libs libalx-cv` +LIBS_PKG_SO += `pkg-config --libs --static libalx-ocr` LIBS_PKG_SO += `pkg-config --libs opencv4` ## zbar -LIBS_PKG_SO += `pkg-config --libs dbus-1` -l pthread +LIBS_PKG_SO += `pkg-config --libs dbus-1` -lpthread LIBS_PKG = -Wl,-Bstatic $(LIBS_PKG_A) -Wl,-Bdynamic $(LIBS_PKG_SO) -- cgit v1.2.3