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