From 055a7153d3c3e38ef1c3320a97ac9e47cf2ab6c2 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 15 Mar 2021 20:04:09 +0100 Subject: [PATCH] modules: fix cross-compilation Do not add -L$(libdir) to AM_LDFLAGS [Retrieved from: https://git.buildroot.net/buildroot/tree/package/libfm/0001-modules-fix-cross-compilation.patch] Signed-off-by: Fabrice Fontaine --- src/modules/Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/Makefile.am b/src/modules/Makefile.am index e61f4e01..01c15bd4 100644 --- a/src/modules/Makefile.am +++ b/src/modules/Makefile.am @@ -11,7 +11,6 @@ AM_CPPFLAGS = \ # tell libtool we compile module not library AM_LDFLAGS = \ -no-undefined -module -avoid-version -shared -export-dynamic \ - -L$(libdir) \ $(GIO_LIBS) # the module should be linked only with libfm, not libfm-gtk or whatever