From 811440253c4d1b40a00ff8accd71b1ecf1e49e7e Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 19 Oct 2016 12:57:12 +0300 Subject: [PATCH] add location lookup for 64-bit systems --- lib/zbar/lib.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zbar/lib.rb b/lib/zbar/lib.rb index c27007a..85c5cc7 100644 --- a/lib/zbar/lib.rb +++ b/lib/zbar/lib.rb @@ -4,7 +4,7 @@ module ZBar paths = Array( ENV['ZBAR_LIB'] || - Dir['/{opt,usr}/{,local/}lib{,64}/libzbar.{dylib,so*}'] + Dir['/{opt,usr}/{,local/}lib{,64}/{,x86_64-linux-gnu/}libzbar.{dylib,so*}'] ) begin ffi_lib(*paths)