Commit a9d50c22 authored by Rafaël Carré's avatar Rafaël Carré

contrib: jpeg: run ranlib only if needed

parent 119e9b31
......@@ -16,5 +16,5 @@ jpeg: jpegsrc.v$(JPEG_VERSION).tar.gz .sum-jpeg
.jpeg: jpeg
cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
cd $< && $(MAKE) install
cd $< && $(RANLIB) $(PREFIX)/lib/libjpeg.a
cd $< && if test -e $(PREFIX)/lib/libjpeg.a; then $(RANLIB) $(PREFIX)/lib/libjpeg.a; fi
touch $@
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