[PATCH libXpm 3/9] sxpm make: move SXPM_LIBS to AM_LDFLAGS

Gaetan Nadon memsize at videotron.ca
Sun Oct 17 15:06:35 PDT 2010


It may eventually contain linker flags that are inappropriate
for LDADD.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 sxpm/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sxpm/Makefile.am b/sxpm/Makefile.am
index d83324c..f0e402d 100644
--- a/sxpm/Makefile.am
+++ b/sxpm/Makefile.am
@@ -4,11 +4,11 @@ bin_PROGRAMS = sxpm
 
 AM_CPPFLAGS = -I$(top_srcdir)/include
 AM_CFLAGS = $(CWARNFLAGS) $(SXPM_CFLAGS)
+AM_LDFLAGS = $(SXPM_LIBS)
+sxpm_LDADD =  $(top_builddir)/src/libXpm.la
 
 sxpm_SOURCES = sxpm.c
 
-sxpm_LDADD = $(SXPM_LIBS) $(top_builddir)/src/libXpm.la
-
 # Man page
 appmandir = $(APP_MAN_DIR)
 
-- 
1.6.0.4



More information about the xorg-devel mailing list