Build both static and shared libs from the same object.

This makes libpostproc consistent with all the other libraries.
patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com

Originally committed as revision 11526 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Pettenò 17 years ago committed by Diego Biurrun
parent 750e37eb83
commit 363728ea0e
  1. 10
      libpostproc/Makefile

@ -12,15 +12,9 @@ LIBMAJOR=$(SPPMAJOR)
HEADERS = postprocess.h HEADERS = postprocess.h
include ../common.mak OBJS = postprocess.o
$(LIBNAME): postprocess.o
$(SLIBNAME_WITH_MAJOR): postprocess_pic.o
depend dep: postprocess.c include ../common.mak
postprocess_pic.o: postprocess.c
$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
uninstall-headers:: uninstall-headers::
-rmdir "$(prefix)/include/postproc" -rmdir "$(prefix)/include/postproc"

Loading…
Cancel
Save