Skip to content

Commit 474bd60

Browse files
committed
rt: fix jemalloc android cross-compile for mac
1 parent 90b999a commit 474bd60

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/rt/jemalloc/Makefile.in

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ vpath % .
99
SHELL := /bin/sh
1010

1111
CC := @CC@
12+
AR := @AR@
1213

1314
# Configuration parameters.
1415
DESTDIR =

src/rt/jemalloc/configure

+1-1
Original file line numberDiff line numberDiff line change
@@ -4453,7 +4453,7 @@ PIC_CFLAGS='-fPIC -DPIC'
44534453
CTARGET='-o $@'
44544454
LDTARGET='-o $@'
44554455
EXTRA_LDFLAGS=
4456-
MKLIB='ar crus $@'
4456+
MKLIB='$(AR) crus $@'
44574457
CC_MM=1
44584458
44594459
default_munmap="1"

0 commit comments

Comments
 (0)