Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions ext/curses/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,8 @@ def exec_command(cmd)
FileUtils.cp("pdcurses.lib", pdcurses_dir)
$pdcurses_dll_default = true
else
if $x64
exec_command "make -f Makefile.mng clean all _w64=1 WIDE=Y DLL=N"
else
exec_command "make -f Makefile.mng clean all WIDE=Y DLL=N"
end
w64 = $x64 ? "_w64=1" : ""
exec_command "make -f Makefile.mng clean all #{w64} WIDE=Y DLL=N CC=\"gcc -std=gnu17\""
FileUtils.cp("pdcurses.a", File.expand_path("libpdcurses.a", pdcurses_dir))
end
ensure
Expand Down