1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 0001-.am-LDFLAGS-AM_LDFLAGS.patch.dpatch by <jari.aalto@cante.net>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: libtoolize: autoreconf fixes
9
From cc67e66843a70d82ca0b74ec39c4b0ccc6f0a1ab Mon Sep 17 00:00:00 2001
10
From: Jari Aalto <jari.aalto@cante.net>
11
Date: Tue, 4 Aug 2009 21:20:24 +0300
12
Subject: [PATCH] */*.am: LDFLAGS => AM_LDFLAGS
14
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
16
games/Makefile.am | 2 +-
17
lib/Makefile.am | 2 +-
18
tests/Makefile.am | 2 +-
19
3 files changed, 3 insertions(+), 3 deletions(-)
21
diff --git a/games/Makefile.am b/games/Makefile.am
22
index a66a48e..bbeb537 100644
23
--- a/games/Makefile.am
24
+++ b/games/Makefile.am
25
@@ -29,7 +29,7 @@ CLEANFILES = \
28
INCLUDES = -I$(srcdir)/../lib $(X_CFLAGS) @PDA@
30
+AM_LDFLAGS = $(X_LIBS)
32
canfield_SOURCES = canfield.c canfield-img.c
33
freecell_SOURCES = freecell.c freecell-help.c freecell-img.c
34
diff --git a/lib/Makefile.am b/lib/Makefile.am
35
index 28e6eed..385a9ab 100644
38
@@ -6,7 +6,7 @@ noinst_HEADERS = cards.h
39
CLEANFILES = images.c images.d
41
INCLUDES = $(X_CFLAGS) @PDA@
43
+AM_LDFLAGS = $(X_LIBS)
47
diff --git a/tests/Makefile.am b/tests/Makefile.am
48
index cef7a6e..530b037 100644
49
--- a/tests/Makefile.am
50
+++ b/tests/Makefile.am
51
@@ -3,7 +3,7 @@ bin_PROGRAMS = penguins
52
test6_SOURCES = test6.c test6c.c
54
INCLUDES = -I$(srcdir)/../lib $(X_CFLAGS) @PDA@
56
+AM_LDFLAGS = $(X_LIBS)
57
LDADD = ../lib/libcards.la -lpng -lz -lX11 -lm
59
EXTRA_DIST = test6.png