Browse Source

Thomas Jakobi <fake@rapidnetworks.de>:

hi,
hm, libmpeg3 needs to incorporate several a52 objects, so transcode will use
it.
This patch patches makefile.patch to enable that.
sorry, my manual test link against the library worked ;)


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1114 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
fake 21 years ago
parent
commit
5e24b6f53c
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      package/fake/libmpeg3/makefile.patch

+ 4
- 4
package/fake/libmpeg3/makefile.patch

@ -1,5 +1,5 @@
--- ./Makefile.orig 2003-08-16 21:24:05.000000000 +0200
+++ ./Makefile 2003-08-16 21:51:53.000000000 +0200
--- ./Makefile.orig 2003-08-10 00:21:59.000000000 +0200
+++ ./Makefile 2003-08-16 22:49:20.000000000 +0200
@@ -1,8 +1,9 @@
CC = gcc
NASM = nasm
@ -146,8 +146,8 @@
ar rcs $(OUTPUT) `cat $(OBJDIR)/objs`
-
+$(SHARED): $(OBJS) $(ASMOBJS) $(NASMOBJS)
+ $(CC) `cat $(OBJDIR)/c_flags` -shared -o $(SHARED) $(OBJS) $(ASMOBJS) $(NASMOBJS) -Wl,-soname -Wl,libmpeg3.so
+$(SHARED): $(OBJS) $(ASMOBJS) $(NASMOBJS) $(A52OBJS)
+ $(CC) `cat $(OBJDIR)/c_flags` -shared -o $(SHARED) $(OBJS) $(ASMOBJS) $(NASMOBJS) `ls $(OBJDIR)/a52dec*/liba52/*.o` -Wl,-soname -Wl,libmpeg3.so
$(OBJDIR)/mpeg3dump: $(OUTPUT) mpeg3dump.c
$(CC) `cat $(OBJDIR)/c_flags` -o $(OBJDIR)/mpeg3dump mpeg3dump.c $(OUTPUT) $(LIBS)

Loading…
Cancel
Save