Merge pull request #4519

17701864 Depends: build hidapi with -fPIC (iDunk5400)
This commit is contained in:
Riccardo Spagni 2018-10-08 22:02:11 +02:00
commit 68f5f20c5d
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

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+=libudev_CFLAGS=-I$(host_prefix)/include
$(package)_config_opts_linux+=libusb_LIBS="-L$(host_prefix)/lib -lusb-1.0" $(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+=libusb_CFLAGS=-I$(host_prefix)/include/libusb-1.0
$(package)_config_opts_linux+=--with-pic
endef endef
define $(package)_config_cmds define $(package)_config_cmds