{"action":"created","issue":{"url":"https://api.github.com/repos/kyamagu/mexopencv/issues/144","labels_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/144/comments","events_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/144/events","html_url":"https://github.com/kyamagu/mexopencv/issues/144","id":69428269,"number":144,"title":"problem with Makefile on Arch Linux","user":{"login":"mljli","id":7010007,"avatar_url":"https://avatars.githubusercontent.com/u/7010007?v=3","gravatar_id":"","url":"https://api.github.com/users/mljli","html_url":"https://github.com/mljli","followers_url":"https://api.github.com/users/mljli/followers","following_url":"https://api.github.com/users/mljli/following{/other_user}","gists_url":"https://api.github.com/users/mljli/gists{/gist_id}","starred_url":"https://api.github.com/users/mljli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mljli/subscriptions","organizations_url":"https://api.github.com/users/mljli/orgs","repos_url":"https://api.github.com/users/mljli/repos","events_url":"https://api.github.com/users/mljli/events{/privacy}","received_events_url":"https://api.github.com/users/mljli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-19T14:15:15Z","updated_at":"2015-04-20T03:31:12Z","closed_at":null,"body":"`pkg-config --libs opencv` gives the following output on my fresh-installed Arch Linux:\r\n\r\n```\r\n-lopencv_calib3d -lopencv_contrib -lopencv_core -lopencv_features2d -lopencv_flann -lopencv_gpu -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_nonfree -lopencv_objdetect -lopencv_ocl -lopencv_photo -lopencv_stitching -lopencv_superres -lopencv_ts -lopencv_video -lopencv_videostab -ltbb /lib64/libXext.so /lib64/libX11.so /lib64/libICE.so /lib64/libSM.so /lib64/libGL.so /lib64/libGLU.so -lrt -lpthread -lm -ldl\r\n```\r\n\r\nThose '/lib64/*' items are processed incorrectly. I though the `CV_LDFLAGS` should be\r\n```\r\nCV_LDFLAGS  := $(filter-out $(LIB_SUFFIX),$(CV_LDFLAGS)) \\\r\n               $(addprefix -L, $(sort $(dir $(filter $(LIB_SUFFIX),$(CV_LDFLAGS))))) \\\r\n               $(patsubst lib%, -l%, \\\r\n               $(basename $(notdir $(filter $(LIB_SUFFIX),$(CV_LDFLAGS))))) \r\n```\r\n\r\nBut I'm not sure if this is correct for all the distros."},"comment":{"url":"https://api.github.com/repos/kyamagu/mexopencv/issues/comments/94347665","html_url":"https://github.com/kyamagu/mexopencv/issues/144#issuecomment-94347665","issue_url":"https://api.github.com/repos/kyamagu/mexopencv/issues/144","id":94347665,"user":{"login":"kyamagu","id":1190780,"avatar_url":"https://avatars.githubusercontent.com/u/1190780?v=3","gravatar_id":"","url":"https://api.github.com/users/kyamagu","html_url":"https://github.com/kyamagu","followers_url":"https://api.github.com/users/kyamagu/followers","following_url":"https://api.github.com/users/kyamagu/following{/other_user}","gists_url":"https://api.github.com/users/kyamagu/gists{/gist_id}","starred_url":"https://api.github.com/users/kyamagu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyamagu/subscriptions","organizations_url":"https://api.github.com/users/kyamagu/orgs","repos_url":"https://api.github.com/users/kyamagu/repos","events_url":"https://api.github.com/users/kyamagu/events{/privacy}","received_events_url":"https://api.github.com/users/kyamagu/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T03:31:12Z","updated_at":"2015-04-20T03:31:12Z","body":"@mljli Thanks for your report and solution! [Could you make a pull-request?](https://help.github.com/articles/creating-a-pull-request/)\r\n\r\n@amroamroamro Yes, this seems correct. Thanks for checking the past reports:)"}}