[Mplayer-cvslog] CVS: main/libdha Makefile,1.11,1.12

Arpi of Ize arpi at mplayerhq.hu
Wed Aug 14 23:44:59 CEST 2002


Update of /cvsroot/mplayer/main/libdha
In directory mail:/var/tmp.root/cvs-serv21000

Modified Files:
	Makefile 
Log Message:
adds a soname and a shared library version number to libdha.
patch by Goetz Waschk <waschk at informatik.uni-rostock.de>


Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libdha/Makefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Makefile	3 Jul 2002 18:59:47 -0000	1.11
+++ Makefile	14 Aug 2002 21:44:56 -0000	1.12
@@ -9,7 +9,7 @@
 else
 SHORTNAME = libdha.so
 endif
-LIBNAME = libdha-$(VERSION).so
+LIBNAME = libdha.so.$(VERSION)
 
 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-cvslog mailing list