summaryrefslogtreecommitdiff
path: root/devel/SDL/patches/patch-bb
blob: 1bb78e54a24e543d67c7629f365e252e256c3298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-bb,v 1.2 2004/04/17 00:15:21 snj Exp $

--- src/audio/esd/Makefile.in.orig	2004-02-22 13:32:08.000000000 -0800
+++ src/audio/esd/Makefile.in	2004-04-10 14:54:04.000000000 -0700
@@ -49,6 +49,7 @@ am__configure_deps = $(am__aclocal_m4_de
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_CLEAN_FILES =
 LTLIBRARIES = $(noinst_LTLIBRARIES)
+libaudio_esd_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) $(ESD_LIBS)
 libaudio_esd_la_LIBADD =
 am__objects_1 = SDL_esdaudio.lo
 am_libaudio_esd_la_OBJECTS = $(am__objects_1)
@@ -317,7 +318,7 @@ clean-noinstLTLIBRARIES:
 	  rm -f "$${dir}/so_locations"; \
 	done
 libaudio_esd.la: $(libaudio_esd_la_OBJECTS) $(libaudio_esd_la_DEPENDENCIES) 
-	$(LINK)  $(libaudio_esd_la_LDFLAGS) $(libaudio_esd_la_OBJECTS) $(libaudio_esd_la_LIBADD) $(LIBS)
+	$(LINK)  -rpath $(libdir) $(libaudio_esd_la_LDFLAGS) $(libaudio_esd_la_OBJECTS) $(libaudio_esd_la_LIBADD) $(LIBS)
 
 mostlyclean-compile:
 	-rm -f *.$(OBJEXT)