aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-10-08 22:02:11 +0200
committerRiccardo Spagni <ric@spagni.net>2018-10-08 22:02:11 +0200
commit68f5f20c5d337a9ced6eddeecebdeca41a379a6e (patch)
treefc75464313b8d306b9354f95144afbcfb4539aef
parentRevert "Merge pull request #4472" (diff)
parentDepends: build hidapi with -fPIC (diff)
downloadmonero-68f5f20c5d337a9ced6eddeecebdeca41a379a6e.tar.xz
Merge pull request #4519
17701864 Depends: build hidapi with -fPIC (iDunk5400)
-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