1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

FreeBSD: Add missing libusb-2.0 to pkg-config file.

This fixes bug #1033.
This commit is contained in:
Uwe Hermann
2017-09-13 15:04:35 +02:00
parent 6c8115820d
commit 2a6c24be33
2 changed files with 4 additions and 1 deletions

View File

@ -95,6 +95,9 @@ AM_CONDITIONAL([FREEBSD], [test -z "${host_os##freebsd*}"])
AM_COND_IF([WIN32], [SP_LIBS='-lsetupapi'], [SP_LIBS=])
AC_SUBST([SP_LIBS])
AM_COND_IF([FREEBSD], [SP_PKGLIBS='libusb-2.0'], [SP_PKGLIBS=])
AC_SUBST([SP_PKGLIBS])
AM_COND_IF([MACOSX], [AC_CHECK_HEADER([IOKit/IOKitLib.h], [],
[AC_MSG_ERROR([IOKit/IOKitLib.h not found])])])