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:
1 parent
c25abc4fab
commit
b24bf8d09f
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user