Fix more libX11 linking
This commit is contained in:
		
							parent
							
								
									39e4983707
								
							
						
					
					
						commit
						00ab71d41f
					
				| @ -1,4 +1,4 @@ | ||||
| From 42e4973f8de4c5e2a02687797d4fc7262e7649ed Mon Sep 17 00:00:00 2001 | ||||
| From 0c8ebc521dfc62ddb7a135ede5a601af68d94e8b Mon Sep 17 00:00:00 2001 | ||||
| From: Bastien Nocera <hadess@hadess.net> | ||||
| Date: Wed, 10 Feb 2010 16:28:46 +0000 | ||||
| Subject: [PATCH] Fix linking with LCMS support enabled | ||||
| @ -11,8 +11,9 @@ We use libX11 functions, so we need to link against them. | ||||
| 
 | ||||
| https://bugzilla.gnome.org/show_bug.cgi?id=609553 | ||||
| ---
 | ||||
|  configure.ac |    2 +- | ||||
|  1 files changed, 1 insertions(+), 1 deletions(-) | ||||
|  configure.ac    |    2 +- | ||||
|  src/Makefile.am |    2 +- | ||||
|  2 files changed, 2 insertions(+), 2 deletions(-) | ||||
| 
 | ||||
| diff --git a/configure.ac b/configure.ac
 | ||||
| index a120bc5..1e011ec 100644
 | ||||
| @ -27,6 +28,19 @@ index a120bc5..1e011ec 100644 | ||||
|  fi | ||||
|  if test "x$have_lcms" = "xyes"; then | ||||
|    AC_DEFINE(HAVE_LCMS, 1, [Little CMS Support.]) | ||||
| diff --git a/src/Makefile.am b/src/Makefile.am
 | ||||
| index bbf296f..5ad8af9 100644
 | ||||
| --- a/src/Makefile.am
 | ||||
| +++ b/src/Makefile.am
 | ||||
| @@ -156,7 +156,7 @@ libeog_la_CFLAGS =						\
 | ||||
|  	-DEOG_PLUGIN_DIR=\""$(libdir)/eog/plugins"\" | ||||
|   | ||||
|  libeog_la_LIBADD = \ | ||||
| -	$(EOG_LIBS)
 | ||||
| +	$(EOG_LIBS) $(LCMS_LIBS)
 | ||||
|   | ||||
|  if ENABLE_PYTHON | ||||
|  libeog_la_CFLAGS += 			\ | ||||
| -- 
 | ||||
| 1.6.6 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user