Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #145 from mljli/master
Browse files Browse the repository at this point in the history
fix CV_LDFLAGS for Arch Linux
  • Loading branch information
kyamagu committed Apr 20, 2015
2 parents 24b0b0c + b0e8d8a commit 8324ce5
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 @@ -18,7 +18,7 @@ LIB_SUFFIX := %.so %.dylib %.a %.la %.dll.a %.dll
CV_LDFLAGS := $(shell pkg-config --libs opencv)
CV_LDFLAGS := $(filter-out $(LIB_SUFFIX),$(CV_LDFLAGS)) \
$(addprefix -L, $(sort $(dir $(filter $(LIB_SUFFIX),$(CV_LDFLAGS))))) \
$(patsubst libopencv_%, -lopencv_%, \
$(patsubst lib%, -l%, \
$(basename $(notdir $(filter $(LIB_SUFFIX),$(CV_LDFLAGS)))))
LD_FLAGS += $(CV_LDFLAGS)

Expand Down

0 comments on commit 8324ce5

Please sign in to comment.