really fix latest fix. But now this versioning stopped making sense to me.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7825 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eyck 2002-10-21 14:23:19 +00:00
parent 7980b17683
commit 4be37e45d5
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,8 @@ SHORTNAME = libdha.dll
else
SHORTNAME = libdha.so.$(MAJOR_VERSION)
SONAME_FLAGS = -Wl,-soname,$(SHORTNAME)
#SHORTNAME = libdha.so
VSHORTNAME = libdha.so
endif
LIBNAME = libdha.so.$(VERSION)
@ -37,6 +39,7 @@ $(LIBNAME): $(OBJS)
#$(CC) -shared $(SONAME_FLAGS) -o $(LIBNAME) $(OBJS) $(LIBS)
$(CC) -shared -Wl,-soname -Wl,$(LIBNAME) -o $(LIBNAME) $(OBJS) $(LIBS)
ln -sf $(LIBNAME) $(SHORTNAME)
ln -sf $(LIBNAME) $(VSHORTNAME)
all: $(LIBNAME) $(SHORTNAME)