Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 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 | |