changeset 22780:ed0921236a36

Build shared lib on all platforms.
author diego
date Sat, 24 Mar 2007 14:20:24 +0000
parents 7dd092f681a5
children c05c25e5f071
files libdha/Makefile
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libdha/Makefile	Sat Mar 24 13:25:51 2007 +0000
+++ b/libdha/Makefile	Sat Mar 24 14:20:24 2007 +0000
@@ -5,9 +5,6 @@
 VERSION = $(MAJOR_VERSION).$(MINOR_VERSION)
 
 LIBNAME = libdha.so
-ifeq ($(TARGET_WIN32),yes)
-LIBNAME = libdha.a
-endif
 
 SRCS_MPLAYER = libdha.c \
                mtrr.c \
@@ -28,13 +25,9 @@
 include ../mpcommon.mak
 
 $(LIBNAME): $(OBJS_MPLAYER)
-ifeq ($(TARGET_WIN32),yes)
-	$(AR) r $@ $^
-else
 	$(CC) -shared -Wl,-soname -Wl,$@ -o $@ $^ $(EXTRALIBS)
 	ln -sf $@ $@.$(VERSION)
 	ln -sf $@ $@.$(MAJOR_VERSION)
-endif
 
 pci_names.c:	oth/pci.db
 	LC_ALL=C $(AWK) -f pci_db2c.awk $<