Use pkg-config to find glib-2.0 include directories

Users still need to replace WIRESHARK_SRC_DIR to build against
newer wiresharks, but everything else should now work properly.
This commit is contained in:
Nick Bastin
2011-06-23 20:53:06 -07:00
parent c25abc4fab
commit b24bf8d09f
@@ -43,7 +43,7 @@ ifeq ($(OSTYPE),SunOS)
ENDIAN=-D_BIG_ENDIAN_
endif
INC_GLIB=/usr/include/glib-2.0 #/usr/pubsw/include/glib-2.0/
INC_GLIB=$(shell pkg-config --cflags glib-2.0)
INC_OPENFLOW=../../../include
INC_DIRS = -I. -I$(INC_GLIB) -I$(INC_OPENFLOW)