Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Pending |
| 2 | |
| 3 | This patch fixes parallel install issue that lib libpixbufloader-png.la |
| 4 | depends on libgdk_pixbuf-2.0.la which will be regenerated during insta- |
| 5 | llation, if libgdk_pixbuf-2.0.la is regenerating and at the same time |
| 6 | libpixbufloader-png.la links it, the error will happen. |
| 7 | |
| 8 | Error message is: |
| 9 | * usr/bin/ld: cannot find -lgdk_pixbuf-2.0 |
| 10 | * collect2: ld returned 1 exit status |
| 11 | |
| 12 | Make an explicit dependency to the libs install targets would fix this |
| 13 | issue. |
| 14 | |
| 15 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> |
| 16 | --- |
| 17 | gdk-pixbuf/Makefile.am | 1 + |
| 18 | libdeps.mk | 3 +++ |
| 19 | 2 files changed, 4 insertions(+), 0 deletions(-) |
| 20 | create mode 100644 libdeps.mk |
| 21 | |
| 22 | diff --git a/gdk-pixbuf/Makefile.am b/gdk-pixbuf/Makefile.am |
| 23 | index 95a93a8..db44cae 100644 |
| 24 | --- a/gdk-pixbuf/Makefile.am |
| 25 | +++ b/gdk-pixbuf/Makefile.am |
| 26 | @@ -783,3 +783,4 @@ loaders.cache: |
| 27 | endif |
| 28 | |
| 29 | -include $(top_srcdir)/git.mk |
| 30 | +-include $(top_srcdir)/libdeps.mk |
| 31 | diff --git a/libdeps.mk b/libdeps.mk |
| 32 | new file mode 100644 |
| 33 | index 0000000..d7a10a8 |
| 34 | --- /dev/null |
| 35 | +++ b/libdeps.mk |
| 36 | @@ -0,0 +1,3 @@ |
| 37 | +# Extending dependencies of install-loaderLTLIBRARIES: |
| 38 | +# The $(lib-LTLIBRARIES) is needed by relinking $(loader_LTLIBRARIES) |
| 39 | +install-loaderLTLIBRARIES: install-libLTLIBRARIES |
| 40 | -- |
| 41 | 1.7.6.1 |
| 42 | |