diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2021-03-20 18:56:42 +0100 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2021-03-20 18:56:42 +0100 |
commit | fb50e3379b775e69ee3db1a31bf795dd233e9a88 (patch) | |
tree | 86706ddb5518f8e4924d2944fe3fafe6735e5341 | |
parent | 340c492517da54162703b07bcbf3f5ad15bf5c42 (diff) |
Makefile: Fix flags
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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) |