summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNate Straz <nstraz@redhat.com>2006-12-01 20:23:35 +0000
committerNathan Straz <nstraz@redhat.com>2008-09-23 09:37:46 -0400
commita23532c0b4f1a9bf1bc5a887b9c1a14101c100d2 (patch)
treead42607c0b6d5bdc23ea37cd7ed42a904b8d8f23 /Makefile
parent5e1a4e8555ebac3f8d2097139e6d1822e228041c (diff)
downloadqarsh-a23532c0b4f1a9bf1bc5a887b9c1a14101c100d2.tar.gz
qarsh-a23532c0b4f1a9bf1bc5a887b9c1a14101c100d2.tar.xz
qarsh-a23532c0b4f1a9bf1bc5a887b9c1a14101c100d2.zip
-lxml2 should be passed directly to the link command so make doesn't try
to expand it. If both i386 and x86_64 -devel packages are installed, make was trying to link in /usr/lib/libxml2.so instead of /usr/lib64...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index aae72f2..d04ce64 100644
--- a/Makefile
+++ b/Makefile
@@ -9,9 +9,10 @@ TARGETS := qarshd qarsh qacp btimed btimec
all: $(TARGETS)
-qarshd: qarshd.c $(COMMON) -lxml2
-qarsh: qarsh.c $(COMMON) -lxml2 btime.c hbeat.c
-qacp: qacp.c $(COMMON) -lxml2
+qarshd: qarshd.c $(COMMON)
+qarsh: qarsh.c $(COMMON) btime.c hbeat.c
+qacp: qacp.c $(COMMON)
+qarshd qarsh qacp: LOADLIBES := -lxml2
btimed: btimed.c
btimec: btimec.c btime.c