X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=Makefile.inc;h=698caf2270cc9e15b9b4c32bcda1efcfc8100aca;hb=HEAD;hp=59edeebb59db2a6e87ecd378a44e80a5543bf93d;hpb=004715ec045f96a870f54371cdeae58132ac43a6;p=uci.git diff --git a/Makefile.inc b/Makefile.inc index 59edeeb..698caf2 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -1,5 +1,13 @@ prefix=/usr DESTDIR= +UNAME_P := $(shell uname -p) +ifeq ($(UNAME_P),x86_64) + LIBDIRNAME=lib64 + LIBUCIPC=lib64uci.pc +else + LIBDIRNAME=lib + LIBUCIPC=libuci.pc +endif COPTS=-O2 WOPTS=-pedantic -Werror -Wall