diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-14 21:44:56 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-14 21:44:56 +0000 |
commit | ad0f7f3b26876bd16d12d7f9a91c1db7ff5771e6 (patch) | |
tree | 18aa7c91393add8ca0ec7b603ec2c499f73bf2d3 /libdha/Makefile | |
parent | c17e80d20f2bb213057d91604cfb4794769decc8 (diff) | |
download | mpv-ad0f7f3b26876bd16d12d7f9a91c1db7ff5771e6.tar.bz2 mpv-ad0f7f3b26876bd16d12d7f9a91c1db7ff5771e6.tar.xz |
adds a soname and a shared library version number to libdha.
patch by Goetz Waschk <waschk@informatik.uni-rostock.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7006 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha/Makefile')
-rw-r--r-- | libdha/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdha/Makefile b/libdha/Makefile index 7c8a62247f..e829f75ab6 100644 --- a/libdha/Makefile +++ b/libdha/Makefile @@ -9,7 +9,7 @@ SHORTNAME = libdha.dll 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 @@ endif $(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) |