Commit 03dd5138 authored by Ralph Giles's avatar Ralph Giles

Call ranlib on the unix static makefile.

This is required by the xmingw build.
parent 27c8948a
......@@ -44,6 +44,8 @@ ifeq ($(findstring -DOP_HAVE_LRINTF,${CFLAGS}),-DOP_HAVE_LRINTF)
LIBS := -lm $(LIBS)
endif
RANLIB ?= ranlib
#TODO: tests
FOO_LIBS =
......@@ -127,6 +129,7 @@ all: ${ALL_TARGETS}
${LIBOPUSFILE_TARGET}: ${LIBOPUSFILE_OBJS}
mkdir -p ${TARGETLIBDIR}
$(AR) cqs $@ ${LIBOPUSFILE_OBJS}
-$(RANLIB) $@
# 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