diff options
author | Scott Garman <scott.a.garman@intel.com> | 2011-03-01 11:12:58 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-03-01 16:36:43 -0800 |
commit | 8e174d943706b879c6bb0e63fe5507a29b76bfa3 (patch) | |
tree | ddc77fb4bcb6d55e8a25dade908106e348eb22be /meta/recipes-sato/screenshot/files/fix_ldadd_order.patch | |
parent | 4ec9b314c1afe3c0e819643ff5b02983e2d24bdc (diff) | |
download | poky-8e174d943706b879c6bb0e63fe5507a29b76bfa3.tar.gz |
screenshot: change the order of LDADD arguments
Rather than setting linker flags explicitly in LDADD as the
previous patch did, simply put libshot.la before GTK_LIBS.
This fixes [BUGID #664]
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/recipes-sato/screenshot/files/fix_ldadd_order.patch')
-rw-r--r-- | meta/recipes-sato/screenshot/files/fix_ldadd_order.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-sato/screenshot/files/fix_ldadd_order.patch b/meta/recipes-sato/screenshot/files/fix_ldadd_order.patch new file mode 100644 index 0000000000..726d590800 --- /dev/null +++ b/meta/recipes-sato/screenshot/files/fix_ldadd_order.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | Fix the ordering of LDADD options to fix a compilation failure. | ||
2 | |||
3 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
4 | diff -urN screenshot.orig//Makefile.am screenshot/Makefile.am | ||
5 | --- screenshot.orig//Makefile.am 2010-06-29 11:55:00.000000000 -0700 | ||
6 | +++ screenshot/Makefile.am 2011-03-01 11:09:01.215813968 -0800 | ||
7 | @@ -23,4 +23,4 @@ | ||
8 | # A standalone tool for running from a terminal and scripts | ||
9 | bin_PROGRAMS = screenshot | ||
10 | screenshot_SOURCES = main.c | ||
11 | -screenshot_LDADD = $(GTK_LIBS) libshot.la | ||
12 | +screenshot_LDADD = libshot.la $(GTK_LIBS) | ||