Skip to content

Commit 5d4a6aa

Browse files
committed
I needed to make this change to install this gem
Signed-off-by: Oliver Stigley <[email protected]>
1 parent 2322191 commit 5d4a6aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ext/exiv2/extconf.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require 'mkmf'
22

3+
CONFIG['CXX'] = ENV['CXX'] || 'clang++'
34
$CXXFLAGS += " -std=c++11"
45
RbConfig::CONFIG['PKG_CONFIG'] = 'pkg-config'
56

@@ -20,10 +21,10 @@
2021
end
2122

2223
if have_macro("EXV_USE_CURL", "exiv2/exv_conf.h")
23-
if dir_config("libcurl") == [nil, nil]
24+
if dir_config("curl") == [nil, nil]
2425
pkg_config("libcurl")
2526
end
26-
have_library("libcurl")
27+
have_library("curl")
2728
end
2829

2930
create_makefile("exiv2/exiv2")

0 commit comments

Comments
 (0)