We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73ff35a commit 17894e0Copy full SHA for 17894e0
ext/rugged/extconf.rb
@@ -77,7 +77,7 @@ def sys(cmd)
77
Dir.chdir("build") do
78
# On Windows, Ruby-DevKit is MSYS-based, so ensure to use MSYS Makefiles.
79
generator = "-G \"MSYS Makefiles\"" if Gem.win_platform?
80
- sys("cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo #{generator}")
+ sys("cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo #{ENV['CMAKE_FLAGS']} #{generator}")
81
sys(MAKE)
82
83
# "normal" libraries (and libgit2 builds) get all these when they build but we're doing it
0 commit comments