Depends: build hidapi with -fPIC

This commit is contained in:
iDunk5400 2018-10-08 12:25:45 +02:00
parent e19652df51
commit 17701864c4
No known key found for this signature in database
GPG Key ID: 0F1715596D812FD8
1 changed files with 1 additions and 0 deletions

View File

@ -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