forked from osmocom/wireshark
debian: Use proper CC flags when test-compiling with development headers
Change-Id: Icdc239f490ea648cfbddb6c23edcc0a4b63bbb22 Reviewed-on: https://code.wireshark.org/review/33713 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
parent
ba3f25b3ee
commit
2639691687
|
@ -54,7 +54,7 @@ override_dh_auto_install:
|
|||
override_dh_install:
|
||||
dh_install
|
||||
# check all necessary headers are included
|
||||
$(CC) -c debian/headers-check.c `pkg-config --cflags glib-2.0` -Idebian/libwireshark-dev/usr/include -Idebian/libwireshark-dev/usr/include/wireshark -Idebian/libwiretap-dev/usr/include/wireshark -Idebian/libwsutil-dev/usr/include/wireshark -o /dev/null
|
||||
$(CC) -c debian/headers-check.c $(shell pkg-config --cflags glib-2.0) $(shell dpkg-buildflags --get CPPFLAGS) $(shell dpkg-buildflags --get CFLAGS) -Idebian/libwireshark-dev/usr/include -Idebian/libwireshark-dev/usr/include/wireshark -Idebian/libwiretap-dev/usr/include/wireshark -Idebian/libwsutil-dev/usr/include/wireshark -o /dev/null
|
||||
|
||||
override_dh_fixperms:
|
||||
dh_fixperms
|
||||
|
|
Loading…
Reference in New Issue