ref: 03dd51381f0b9b2c9f4951ffa63bb1557efaff42
parent: 27c8948abf0c92102355d86c2ad7c35a53a2c6e4
author: Ralph Giles <giles@mozilla.com>
date: Fri Mar 1 06:05:45 EST 2013
Call ranlib on the unix static makefile. This is required by the xmingw build.
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -44,6 +44,8 @@
LIBS := -lm $(LIBS)
endif
+RANLIB ?= ranlib
+
#TODO: tests
FOO_LIBS =
@@ -127,6 +129,7 @@
${LIBOPUSFILE_TARGET}: ${LIBOPUSFILE_OBJS}
mkdir -p ${TARGETLIBDIR}
$(AR) cqs $@ ${LIBOPUSFILE_OBJS}
+ -$(RANLIB) $@
# opusfile_example
${OPUSFILE_EXAMPLE_TARGET}: ${OPUSFILE_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET}