From 17701864c41f5716c5252632a79f5f41b6f27bf3 Mon Sep 17 00:00:00 2001 From: iDunk5400 Date: Mon, 8 Oct 2018 12:25:45 +0200 Subject: [PATCH] Depends: build hidapi with -fPIC --- contrib/depends/packages/hidapi.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/depends/packages/hidapi.mk b/contrib/depends/packages/hidapi.mk index d4dd80e22..1c43e525a 100644 --- a/contrib/depends/packages/hidapi.mk +++ b/contrib/depends/packages/hidapi.mk @@ -13,6 +13,7 @@ $(package)_config_opts_linux+=libudev_LIBS="-L$(host_prefix)/lib -ludev" $(package)_config_opts_linux+=libudev_CFLAGS=-I$(host_prefix)/include $(package)_config_opts_linux+=libusb_LIBS="-L$(host_prefix)/lib -lusb-1.0" $(package)_config_opts_linux+=libusb_CFLAGS=-I$(host_prefix)/include/libusb-1.0 +$(package)_config_opts_linux+=--with-pic endef define $(package)_config_cmds