]> git.ipfire.org Git - people/ms/pakfire.git/commitdiff
Use right install location on Debian based systems on x86_64.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 7 Apr 2012 09:46:07 +0000 (11:46 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 7 Apr 2012 09:46:07 +0000 (11:46 +0200)
Makeconfig

index add169a2b0148fd4cc1516239015f41d08a6d42e..061a864005a1db4c98e11b79437ca255c5791ab7 100644 (file)
@@ -15,10 +15,14 @@ CC = gcc
 CFLAGS ?= -O2 -fPIC -pipe
 MACHINE = $(shell uname -m)
 
-ifeq "$(MACHINE)" "x86_64"
+ifeq "$(DEBIAN)" "0"
+ ifeq "$(MACHINE)" "x86_64"
        LIBDIR = $(PREFIX)/lib64
-else
+ else
        LIBDIR = $(PREFIX)/lib
+ endif
+else
+ LIBDIR = $(PREFIX)/lib
 endif
 
 # Get the version and configuration of the python interpreter.