summaryrefslogtreecommitdiffstats
path: root/libdha
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-24 14:20:24 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-24 14:20:24 +0000
commita1202d6267f5c75aaa843386193605e714843b5a (patch)
tree4c2b43224e3372633be9bea8e0c7d22b3b0d6a4b /libdha
parentff52264cafe51378ba54a65e053c314c83b7a0e9 (diff)
downloadmpv-a1202d6267f5c75aaa843386193605e714843b5a.tar.bz2
mpv-a1202d6267f5c75aaa843386193605e714843b5a.tar.xz
Build shared lib on all platforms.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22798 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha')
-rw-r--r--libdha/Makefile7
1 files changed, 0 insertions, 7 deletions
diff --git a/libdha/Makefile b/libdha/Makefile
index fffb6f7a4b..32734381f1 100644
--- a/libdha/Makefile
+++ b/libdha/Makefile
@@ -5,9 +5,6 @@ MINOR_VERSION = 0
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 @@ all: pci_names.c $(LIBNAME)
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 $<