Skip to content

Commit

Permalink
Merge pull request #208 from stweil/opencv-python
Browse files Browse the repository at this point in the history
Fix build for opencv-python
  • Loading branch information
kba authored Oct 8, 2020
2 parents 61dc193 + 412959b commit 8140734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ CUSTOM_DEPS += cmake gcc g++
opencv-python: GIT_RECURSIVE = --recursive
opencv-python/setup.py: opencv-python
$(SHARE)/opencv-python: opencv-python/setup.py | $(ACTIVATE_VENV) $(SHARE) $(SHARE)/numpy
. $(ACTIVATE_VENV) && ENABLE_HEADLESS=1 $(PYTHON) $< bdist_wheel
. $(ACTIVATE_VENV) && cd opencv-python && ENABLE_HEADLESS=1 $(PYTHON) setup.py bdist_wheel
. $(ACTIVATE_VENV) && $(PIP) install $(<D)/dist/opencv_python_headless-*.whl
@touch $@
$(BIN)/ocrd: $(SHARE)/opencv-python
Expand Down

0 comments on commit 8140734

Please sign in to comment.