[MPlayer-users] patch for libdha soname
Goetz Waschk
waschk at informatik.uni-rostock.de
Fri Aug 9 11:06:01 CEST 2002
Hi,
is it possible to apply the attached tiny patch, this would make the
life easyer for packagers of MPlayer and shouldn't hurt anyone. It
just adds a soname and a major version number to libdha.
CU
--
Götz Waschk <> master of computer science <> University of Rostock
http://wwwstud.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
--> Logout Fascism! <--
-------------- next part --------------
--- libdha/Makefile 2002-07-03 14:59:47.000000000 -0400
+++ libdha/Makefile.new 2002-08-09 04:17:36.000000000 -0400
@@ -9,7 +9,7 @@
else
SHORTNAME = libdha.so
endif
-LIBNAME = libdha-$(VERSION).so
+LIBNAME = libdha-$(VERSION).so.0
SRCS=libdha.c mtrr.c pci.c pci_names.c
OBJS=$(SRCS:.c=.o)
@@ -30,7 +30,7 @@
$(CC) -c $(CFLAGS) -o $@ $<
$(LIBNAME): $(OBJS)
- $(CC) -shared -o $(LIBNAME) $(OBJS) $(LIBS)
+ $(CC) -shared -Wl,-soname -Wl,$(LIBNAME) -o $(LIBNAME) $(OBJS) $(LIBS)
ln -sf $(LIBNAME) $(SHORTNAME)
all: $(LIBNAME) $(SHORTNAME)
More information about the MPlayer-users
mailing list