gah, more changes necessary to get cross-compiling on Linux to work
This commit is contained in:
Родитель
482dcea1d9
Коммит
a271a20d70
|
@ -65,7 +65,9 @@ PEX_LIBS=
|
||||||
EX_LIBS=
|
EX_LIBS=
|
||||||
EXE_EXT=
|
EXE_EXT=
|
||||||
ARFLAGS=
|
ARFLAGS=
|
||||||
AR= ar $(ARFLAGS) r
|
AR?=ar
|
||||||
|
AR_EX:=$(AR)
|
||||||
|
AR= $(AR_EX) $(ARFLAGS) r
|
||||||
RANLIB ?= /usr/bin/ranlib
|
RANLIB ?= /usr/bin/ranlib
|
||||||
PERL= /usr/bin/perl
|
PERL= /usr/bin/perl
|
||||||
TAR= tar
|
TAR= tar
|
||||||
|
|
|
@ -33,8 +33,8 @@ SHAREDLIB=libz.so
|
||||||
SHAREDLIBV=libz.so.1.2.3
|
SHAREDLIBV=libz.so.1.2.3
|
||||||
SHAREDLIBM=libz.so.1
|
SHAREDLIBM=libz.so.1
|
||||||
|
|
||||||
AR=ar rc
|
AR?=ar
|
||||||
RANLIB=ranlib
|
RANLIB?=ranlib
|
||||||
TAR=tar
|
TAR=tar
|
||||||
SHELL=/bin/sh
|
SHELL=/bin/sh
|
||||||
EXE=
|
EXE=
|
||||||
|
@ -68,7 +68,7 @@ test: all
|
||||||
fi
|
fi
|
||||||
|
|
||||||
libz.a: $(OBJS) $(OBJA)
|
libz.a: $(OBJS) $(OBJA)
|
||||||
$(AR) $@ $(OBJS) $(OBJA)
|
$(AR) rc $@ $(OBJS) $(OBJA)
|
||||||
-@ ($(RANLIB) $@ || true) >/dev/null 2>&1
|
-@ ($(RANLIB) $@ || true) >/dev/null 2>&1
|
||||||
|
|
||||||
match.o: match.S
|
match.o: match.S
|
||||||
|
|
Загрузка…
Ссылка в новой задаче