Skip to content

Commit

Permalink
Added include and lib paths for NetBSD compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
eclubb committed Mar 5, 2009
1 parent 0f9a134 commit 295f642
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ext/ncurses/extconf.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
$CFLAGS += " -g" $CFLAGS += " -g"
$CXXFLAGS = $CFLAGS $CXXFLAGS = $CFLAGS


# Add paths for NetBSD.
$CFLAGS += " -I/usr/pkg/include"
$LDFLAGS += " -L/usr/pkg/lib"

have_header("unistd.h") have_header("unistd.h")
if have_header("ncurses.h") if have_header("ncurses.h")
curses_header = "ncurses.h" curses_header = "ncurses.h"
Expand Down

0 comments on commit 295f642

Please sign in to comment.