From 63fb623437243447136e28b694a89dbeb96da427 Mon Sep 17 00:00:00 2001 From: Garrett Brown Date: Mon, 18 Jun 2018 11:37:00 -0700 Subject: [PATCH] Steam Link: [depends] Build libudev using --with-pic Compiler error was: libudev.a(util.o)(.text+0x2f0): R_ARM_TLS_LE32 relocation not permitted in shared object --- tools/depends/target/libudev/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/depends/target/libudev/Makefile b/tools/depends/target/libudev/Makefile index 3868cc0e6c..51ff3ec6a1 100644 --- a/tools/depends/target/libudev/Makefile +++ b/tools/depends/target/libudev/Makefile @@ -8,7 +8,7 @@ SOURCE=$(LIBNAME)-$(VERSION) ARCHIVE=$(SOURCE).tar.gz # configuration settings -CONFIGURE=./configure --prefix=$(PREFIX) --disable-shared --enable-static --enable-introspection=no --disable-programs --disable-blkid --disable-selinux --disable-manpages --disable-kmod --disable-mtd_probe +CONFIGURE=./configure --prefix=$(PREFIX) --disable-shared --enable-static --enable-introspection=no --disable-programs --disable-blkid --disable-selinux --disable-manpages --disable-kmod --disable-mtd_probe --with-pic LIBDYLIB=$(PLATFORM)/src/libudev/.libs/libudev.la