summaryrefslogtreecommitdiff
path: root/graphics/mpeg-lib/patches/patch-ap
blob: 08314c8c9d623b33f1490ee8b72f0cd6e0a68cd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-ap,v 1.3 1998/08/07 10:40:49 agc Exp $

--- Makefile.in.orig	Mon Feb 26 13:12:54 1996
+++ Makefile.in	Sun Jul 26 10:25:54 1998
@@ -6,7 +6,7 @@
 
 # Various programs and their options
 
-CC            = @CC@
+CC            = ${LIBTOOL} @CC@
 OPT           = @OPT@
 DEFS          = @DEFS@
 INCLUDES      = -I.
@@ -31,7 +31,7 @@
 
 # Other files of interest
 
-LIBRARY       = libmpeg.a
+LIBRARY       = libmpeg.la
 MPEGTEST      = mpegtest
 
 # Targets for all platforms
@@ -39,8 +39,8 @@
 all:		$(LIBRARY) @extras@
 
 $(LIBRARY):	$(LIBOBJ)
-		$(AR) $(ARFLAGS) $(LIBRARY) $(LIBOBJ)
-		$(RANLIB) $(LIBRARY)
+		${CC} -o ${LIBRARY} ${LIBOBJ:.o=.lo} -rpath ${PREFIX}/lib \
+			-version-info 1:2
 
 $(LIBOBJ):	Makefile