0001-modules-fix-cross-compilation.patch 810 B

123456789101112131415161718192021222324252627
  1. From 3bc935b732d1ff448727e90340e4be40ef6fc000 Mon Sep 17 00:00:00 2001
  2. From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  3. Date: Sun, 29 Apr 2018 20:22:29 +0200
  4. Subject: [PATCH] modules: fix cross-compilation
  5. Do not add -L$(libdir) to AM_LDFLAGS
  6. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  7. ---
  8. src/modules/Makefile.am | 1 -
  9. 1 file changed, 1 deletion(-)
  10. diff --git a/src/modules/Makefile.am b/src/modules/Makefile.am
  11. index e61f4e01..01c15bd4 100644
  12. --- a/src/modules/Makefile.am
  13. +++ b/src/modules/Makefile.am
  14. @@ -11,7 +11,6 @@ AM_CPPFLAGS = \
  15. # tell libtool we compile module not library
  16. AM_LDFLAGS = \
  17. -no-undefined -module -avoid-version -shared -export-dynamic \
  18. - -L$(libdir) \
  19. $(GIO_LIBS)
  20. # the module should be linked only with libfm, not libfm-gtk or whatever
  21. --
  22. 2.14.1