0001-disable-rpath.patch 1.1 KB

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