From 17211acc53f511282e7fb5518080ae56ef799f15 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Thu, 7 Mar 2019 21:58:52 +0100 Subject: remove obsolete workaround for libdivecomputer includes of libusb This has been fixed in revision b1d434f0ea9a2958613da9bed32ff3ff3318065e there. Signed-off-by: Rolf Eike Beer --- scripts/build.sh | 6 ------ 1 file changed, 6 deletions(-) (limited to 'scripts/build.sh') diff --git a/scripts/build.sh b/scripts/build.sh index b7a208a07..64daf52b3 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -308,12 +308,6 @@ if [[ $PLATFORM = Darwin && "$BUILD_DEPS" == "1" ]] ; then make -j4 -k make -k install popd -else - # we are getting libusb and hidapi from pkg-config and that goes wrong - # or more specifically, the way libdivecomputer references - # the include files goes wrong - pkg-config --exists libusb-1.0 && LIBDC_CFLAGS=-I$(dirname $(pkg-config --cflags libusb-1.0 | sed -e 's/^-I//')) - pkg-config --exists hidapi && LIBDC_CFLAGS="${LIBDC_CFLAGS} -I$(dirname $(pkg-config --cflags hidapi | sed -e 's/^-I//'))" fi -- cgit v1.2.3-70-g09d2