kumquat-buildroot/package/fstrcmp/0001-disable-rpath.patch
Bernd Kuhls 3c4ff8467d package/fstrcmp: new package
Needed for Kodi >= 18.0
c79fb23a7d

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-09-21 22:59:07 +02:00

26 lines
1.1 KiB
Diff

Remove rpath from linking command
Fixes build error:
lib/.libs/libfstrcmp.so: undefined reference to `__ctype_b_loc@GLIBC_2.3'
lib/.libs/libfstrcmp.so: undefined reference to `mbstowcs@GLIBC_2.2.5'
lib/.libs/libfstrcmp.so: undefined reference to `printf@GLIBC_2.2.5'
lib/.libs/libfstrcmp.so: undefined reference to `readlink@GLIBC_2.2.5'
lib/.libs/libfstrcmp.so: undefined reference to `malloc@GLIBC_2.2.5'
lib/.libs/libfstrcmp.so: undefined reference to `memcmp@GLIBC_2.2.5'
lib/.libs/libfstrcmp.so: undefined reference to `wcslen@GLIBC_2.2.5'
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
--- fstrcmp-0.7.D001/Makefile.in.orig 2014-03-05 01:13:45.000000000 +0100
+++ fstrcmp-0.7.D001/Makefile.in 2019-04-07 13:55:07.817689231 +0200
@@ -507,7 +507,7 @@
lib/libfstrcmp.la: $(lib_obj)
rm -f $@
$(LIBTOOL) --mode=link --tag=CC $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \
- -o $@ $(lib_obj) $(LIBS) -rpath $(libdir) -version-info 6:0:6
+ -o $@ $(lib_obj) $(LIBS) -version-info 6:0:6
#
# The install of the *.la file automatically causes "$(LIBTOOL) --mode=install"