Link npw-config against glib

This file needs to be replaced with something else entirely, but it'd be
good to get rid of some of disturbing buffer-manipulation logic. The
plugin itself depends on it anyway.
This commit is contained in:
David Benjamin 2011-05-13 21:38:47 -04:00
parent 5d64df2acc
commit 60b4157778
1 changed files with 2 additions and 0 deletions

View File

@ -156,7 +156,9 @@ npconfig_RAWSRCS = npw-config.c
npconfig_SOURCES = $(npconfig_RAWSRCS:%.c=$(SRC_PATH)/src/%.c)
npconfig_OBJECTS = $(npconfig_RAWSRCS:%.c=npconfig-%.o)
npconfig_CFLAGS = $(CFLAGS)
npconfig_CFLAGS += $(GLIB_CFLAGS)
npconfig_LIBS = $(libdl_LIBS)
npconfig_LIBS += $(GLIB_LIBS)
npconfig_LDFLAGS = $(LDFLAGS)
ifneq (,$(findstring $(OS),netbsd dragonfly))
# We will try to dlopen() the native plugin library. If that lib is