diff options
Diffstat (limited to 'meta-multimedia/recipes-multimedia/coriander/coriander/cross-compile.patch')
-rw-r--r-- | meta-multimedia/recipes-multimedia/coriander/coriander/cross-compile.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/coriander/coriander/cross-compile.patch b/meta-multimedia/recipes-multimedia/coriander/coriander/cross-compile.patch new file mode 100644 index 000000000..49350fe18 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/coriander/coriander/cross-compile.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | In a cross compile environment adding paths like /usr are not correct. | ||
2 | With this patch we make it so that its relative to sysroot if the compiler | ||
3 | defines one. | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | Index: a/src/Makefile.am | ||
8 | =================================================================== | ||
9 | --- a/src/Makefile.am 2013-02-08 22:35:08.000000000 -0800 | ||
10 | +++ b/src/Makefile.am 2013-10-13 01:31:38.812869080 -0700 | ||
11 | @@ -33,5 +33,5 @@ | ||
12 | video_encode.c video_encode.h \ | ||
13 | subtitles.c subtitles.h | ||
14 | |||
15 | -coriander_LDADD = -L/usr/X11R6/lib/ @PACKAGE_LIBS@ $(INTLLIBS) $(LIBTIFF_LIBS) $(FTPLIB_LIBS) $(SDLLIB_LIBS) $(LIBDC_LIBS) $(LIBRAW_LIBS) $(XV_LIBS) $(COR_LFS_LDFLAGS) -lgthread-2.0 $(FFMPEG_LIBS) $(X11_LIBS) | ||
16 | +coriander_LDADD = -L=/usr/X11R6/lib/ @PACKAGE_LIBS@ $(INTLLIBS) $(LIBTIFF_LIBS) $(FTPLIB_LIBS) $(SDLLIB_LIBS) $(LIBDC_LIBS) $(LIBRAW_LIBS) $(XV_LIBS) $(COR_LFS_LDFLAGS) -lgthread-2.0 $(FFMPEG_LIBS) $(X11_LIBS) | ||
17 | |||