From 5d4a6aa70832aaee5ae286a844f2d1f9af936e9e Mon Sep 17 00:00:00 2001 From: Oliver Stigley Date: Tue, 6 May 2025 14:36:12 +0700 Subject: [PATCH] I needed to make this change to install this gem Signed-off-by: Oliver Stigley --- ext/exiv2/extconf.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/exiv2/extconf.rb b/ext/exiv2/extconf.rb index ad94b9f..f2bf08a 100644 --- a/ext/exiv2/extconf.rb +++ b/ext/exiv2/extconf.rb @@ -1,5 +1,6 @@ require 'mkmf' +CONFIG['CXX'] = ENV['CXX'] || 'clang++' $CXXFLAGS += " -std=c++11" RbConfig::CONFIG['PKG_CONFIG'] = 'pkg-config' @@ -20,10 +21,10 @@ end if have_macro("EXV_USE_CURL", "exiv2/exv_conf.h") - if dir_config("libcurl") == [nil, nil] + if dir_config("curl") == [nil, nil] pkg_config("libcurl") end - have_library("libcurl") + have_library("curl") end create_makefile("exiv2/exiv2")