Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added include and lib paths for NetBSD compilation.

  • Loading branch information...
commit 295f64269236421fd08bc743f7d38826f9b087d0 1 parent 0f9a134
Earle Clubb eclubb authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 ext/ncurses/extconf.rb
4 ext/ncurses/extconf.rb
View
@@ -25,6 +25,10 @@
$CFLAGS += " -g"
$CXXFLAGS = $CFLAGS
+# Add paths for NetBSD.
+$CFLAGS += " -I/usr/pkg/include"
+$LDFLAGS += " -L/usr/pkg/lib"
+
have_header("unistd.h")
if have_header("ncurses.h")
curses_header = "ncurses.h"
Please sign in to comment.
Something went wrong with that request. Please try again.