summaryrefslogtreecommitdiffstats
path: root/cpgx/Makefile
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2009-06-09 11:28:18 -0500
committerDavid Teigland <teigland@redhat.com>2009-06-09 11:28:18 -0500
commitdefb3ca7d535bf1ccbce5bbf6d430f716052ce32 (patch)
treeb32c2d084a9486b2c32b442c2775d3f55f25d6c0 /cpgx/Makefile
parentd9cce62e02001ca8f0562d563b08f3e7893bd664 (diff)
downloaddct-stuff-defb3ca7d535bf1ccbce5bbf6d430f716052ce32.tar.gz
dct-stuff-defb3ca7d535bf1ccbce5bbf6d430f716052ce32.tar.xz
dct-stuff-defb3ca7d535bf1ccbce5bbf6d430f716052ce32.zip
cpgx: munge makefile
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'cpgx/Makefile')
-rw-r--r--cpgx/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpgx/Makefile b/cpgx/Makefile
index 45c590e..9eb3753 100644
--- a/cpgx/Makefile
+++ b/cpgx/Makefile
@@ -4,8 +4,8 @@ CFLAGS := -Wall -g
OPENAIS_CPG := $(wildcard /usr/include/openais/cpg.h)
ifneq ($(strip $(OPENAIS_CPG)),)
CFLAGS += -DWHITETANK
-ARCHM=$(shell uname -m)
-ifeq (x86_64,$(ARCHM))
+LIB64 := $(wildcard /usr/lib64/openais/libcpg.so)
+ifneq ($(strip $(LIB64)),)
LDFLAGS += -L/usr/lib64/openais
else
LDFLAGS := -L/usr/lib/openais