X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=Makefile.inc;h=698caf2270cc9e15b9b4c32bcda1efcfc8100aca;hb=HEAD;hp=2cfce43eba1a06a00930b9f6b85e5b48d36a1277;hpb=fa40c4e16644da1f7c87cbd5a25d3fa8be4e0594;p=uci.git diff --git a/Makefile.inc b/Makefile.inc index 2cfce43..698caf2 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -1,6 +1,13 @@ prefix=/usr DESTDIR= -LIBDIRNAME=lib +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