Commit e1b0a7ca authored by Ralph Giles's avatar Ralph Giles

Use $(AR) for ar to support cross-compiling.

GNU make provides a default definition for this variable.

I've no idea what's special about mingw32-ar vs native ar,
but it seems to be required.
parent 98c7eb71
......@@ -126,7 +126,7 @@ all: ${ALL_TARGETS}
# libopusfile
${LIBOPUSFILE_TARGET}: ${LIBOPUSFILE_OBJS}
mkdir -p ${TARGETLIBDIR}
ar cqs $@ ${LIBOPUSFILE_OBJS}
$(AR) cqs $@ ${LIBOPUSFILE_OBJS}
# opusfile_example
${OPUSFILE_EXAMPLE_TARGET}: ${OPUSFILE_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment