Skip to content

Commit 069bb75

Browse files
committed
1 parent 5a75df4 commit 069bb75

3 files changed

Lines changed: 4 additions & 9 deletions

File tree

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "vendor/PDCurses"]
22
path = vendor/PDCurses
3-
url = https://github.com/shugo/PDCurses.git
3+
url = https://github.com/wmcbrine/PDCurses

ext/curses/extconf.rb

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ def exec_command(cmd)
4343
$mingw = /mingw/ =~ RUBY_PLATFORM
4444
$mswin = /mswin/ =~ RUBY_PLATFORM
4545
$windows = $mingw || $mswin
46-
$x64 = /x64/ =~ RUBY_PLATFORM
4746
$use_system_libs = arg_config('--use-system-libraries',
4847
ENV.key?("CURSES_USE_SYSTEM_LIBRARIES"))
4948
$idefault = nil
@@ -62,16 +61,12 @@ def exec_command(cmd)
6261
Dir.chdir(wincon_dir)
6362
begin
6463
if $mswin
65-
exec_command "nmake -f Makefile.vc clean all WIDE=Y DLL=Y"
64+
exec_command "nmake -f Makefile.vc WIDE=Y DLL=Y"
6665
FileUtils.cp("pdcurses.dll", pdcurses_dir)
6766
FileUtils.cp("pdcurses.lib", pdcurses_dir)
6867
$pdcurses_dll_default = true
6968
else
70-
if $x64
71-
exec_command "make -f Makefile.mng clean all _w64=1 WIDE=Y DLL=N"
72-
else
73-
exec_command "make -f Makefile.mng clean all WIDE=Y DLL=N"
74-
end
69+
exec_command "make WIDE=Y DLL=N"
7570
FileUtils.cp("pdcurses.a", File.expand_path("libpdcurses.a", pdcurses_dir))
7671
end
7772
ensure

vendor/PDCurses

Submodule PDCurses updated 262 files

0 commit comments

Comments
 (0)