diff options
-rw-r--r-- | cpgx/Makefile | 4 |
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 |