aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authoriDunk5400 <iDunk5400@users.noreply.github.com>2018-10-08 12:25:45 +0200
committeriDunk5400 <iDunk5400@users.noreply.github.com>2018-10-08 12:50:04 +0200
commit17701864c41f5716c5252632a79f5f41b6f27bf3 (patch)
tree69c6e7f70ce70fc947ec5c364caf151c967dc5f3 /contrib
parentMerge pull request #4036 (diff)
downloadmonero-17701864c41f5716c5252632a79f5f41b6f27bf3.tar.xz
Depends: build hidapi with -fPIC
Diffstat (limited to 'contrib')
-rw-r--r--contrib/depends/packages/hidapi.mk1
1 files changed, 1 insertions, 0 deletions
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