Permalink
Browse files

Added include and lib paths for NetBSD compilation.

  • Loading branch information...
1 parent 0f9a134 commit 295f64269236421fd08bc743f7d38826f9b087d0 @eclubb eclubb committed Mar 5, 2009
Showing with 4 additions and 0 deletions.
  1. +4 −0 ext/ncurses/extconf.rb
View
4 ext/ncurses/extconf.rb
@@ -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"

0 comments on commit 295f642

Please sign in to comment.