From b24bf8d09fdc677df7a00c596e9533dffb311f18 Mon Sep 17 00:00:00 2001 From: Nick Bastin Date: Thu, 23 Jun 2011 20:53:06 -0700 Subject: [PATCH] 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. --- utilities/wireshark_dissectors/openflow/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/wireshark_dissectors/openflow/Makefile b/utilities/wireshark_dissectors/openflow/Makefile index 46d8b9a..ccfcacf 100644 --- a/utilities/wireshark_dissectors/openflow/Makefile +++ b/utilities/wireshark_dissectors/openflow/Makefile @@ -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)