[MPlayer-dev-eng] [PATCH] fix build with --enable-shared-pp
Götz Waschk
waschk at informatik.uni-rostock.de
Thu Mar 27 18:54:18 CET 2003
Hi,
with shared postproc enabled the build of mplayer fails at the link
stage. The attached patch adds the shared postproc library to the deps
of mplayer and mencoder.
CU
--
What difference does it make to the dead, the orphans and the
homeless, whether the mad destruction is wrought under the name of
totalitarianism or the holy name of liberty or democracy?
Mahatma Gandhi (1869 - 1948), "Non-Violence in Peace and War"
-------------- next part --------------
? MPlayer-shared-postproc-deps.patch
Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Makefile,v
retrieving revision 1.261
diff -u -r1.261 Makefile
--- Makefile 21 Mar 2003 18:21:00 -0000 1.261
+++ Makefile 27 Mar 2003 18:06:34 -0000
@@ -96,12 +96,16 @@
endif
endif
+ifeq ($(SHARED_PP),yes)
+COMMON_DEPS += libavcodec/libpostproc/libpostproc.so
+COMMON_LIBS += libavcodec/libpostproc/libpostproc.so
+endif
+
ifeq ($(GUI),yes)
COMMON_DEPS += Gui/libgui.a
GUI_LIBS = Gui/libgui.a
endif
-
.SUFFIXES: .cc .c .o
# .PHONY: $(COMMON_DEPS)
@@ -176,6 +180,9 @@
libmenu/libmenu.a:
$(MAKE) -C libmenu
+
+libavcodec/libpostproc/libpostproc.so:
+ $(MAKE) -C libavcodec/libpostproc
MPLAYER_DEP = $(OBJS_MPLAYER) $(COMMON_DEPS)
More information about the MPlayer-dev-eng
mailing list