fix install make-target

This fixes #84
This commit is contained in:
Steffen Jaeckel 2017-08-29 10:40:05 +02:00
parent 3e2ebd3b47
commit ac4f48eeec

View File

@ -11,16 +11,16 @@ VERSION_SO=1:1
default: ${LIBNAME} default: ${LIBNAME}
# Compiler and Linker Names # Compiler and Linker Names
ifndef PREFIX ifndef CROSS_COMPILE
PREFIX= CROSS_COMPILE=
endif endif
ifeq ($(CC),cc) ifeq ($(CC),cc)
CC = $(PREFIX)gcc CC = $(CROSS_COMPILE)gcc
endif endif
LD=$(PREFIX)ld LD=$(CROSS_COMPILE)ld
AR=$(PREFIX)ar AR=$(CROSS_COMPILE)ar
RANLIB=$(PREFIX)ranlib RANLIB=$(CROSS_COMPILE)ranlib
ifndef MAKE ifndef MAKE
MAKE=make MAKE=make