libphonenumber: revision for protobuf

use -std=c++11 in test
This commit is contained in:
ilovezfs 2018-06-20 09:53:18 -07:00
parent 9429f9384a
commit d4bebe7094

View file

@ -3,6 +3,7 @@ class Libphonenumber < Formula
homepage "https://github.com/googlei18n/libphonenumber"
url "https://github.com/googlei18n/libphonenumber/archive/v8.9.8.tar.gz"
sha256 "cca3a279ddf5e363febb5a34d3e946edfad7f4edb6aa03a83b193d3d523221cf"
revision 1
bottle do
cellar :any
@ -57,7 +58,7 @@ class Libphonenumber < Formula
}
}
EOS
system ENV.cxx, "test.cpp", "-L#{lib}", "-lphonenumber", "-o", "test"
system ENV.cxx, "-std=c++11", "test.cpp", "-L#{lib}", "-lphonenumber", "-o", "test"
system "./test"
end
end