# the following is needed to link against a static ncurses library
# that dynamically links to libgpm
var_append configprefix " " "LDFLAGS=\"\$LDFLAGS -ldl\""