summarylogtreecommitdiffstats
path: root/Makefile.config
diff options
context:
space:
mode:
authorDaniel Bermond2018-11-26 13:26:13 +0000
committerDaniel Bermond2018-11-26 13:26:13 +0000
commit53954ba06b361941cc971a55a9fed1fb1cd55815 (patch)
treede4f04c9b1e53e340498a22c48d78e2e07617bdb /Makefile.config
parent605b9bf43344ccee8faaed68b528fde3429322e3 (diff)
downloadaur-53954ba06b361941cc971a55a9fed1fb1cd55815.tar.gz
Fix build with opencv4
Diffstat (limited to 'Makefile.config')
-rw-r--r--Makefile.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.config b/Makefile.config
index e82b03357ff..6e976835263 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -1,6 +1,6 @@
_PYVER := $(shell python -c 'import sys; print("%s.%s" %sys.version_info[0:2])')
_PYMAJ := $(shell python -c 'import sys; print("%s" %sys.version_info[0])')
-_OCVMAJ := $(shell opencv_version | awk -F'.' '{ print $1 }')
+_OCVMAJ := $(shell opencv_version | awk -F'.' '{ print $$1 }')
USE_CUDNN := 1
USE_OPENCV := 1