fix: not using pkg-config for libusb in order to compile on android

This commit is contained in:
evilsocket 2019-02-21 13:37:10 +01:00
parent f5d1351987
commit 47e7b2a125
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -24,7 +24,8 @@ import (
)
/*
#cgo pkg-config: libusb-1.0
#cgo LDFLAGS: -lusb-1.0
#cgo CFLAGS: -I/usr/include/libusb-1.0
#include <libusb.h>
int gousb_compact_iso_data(struct libusb_transfer *xfer, unsigned char *status);