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