summaryrefslogtreecommitdiff
path: root/devel/SDL/patches/patch-bb
blob: db3e9799f7c14f98e378379df36a1c0decedec4f (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.3 2005/01/05 12:05:19 adam Exp $

--- src/audio/esd/Makefile.in.orig	2004-12-13 09:03:15.000000000 +0000
+++ src/audio/esd/Makefile.in
@@ -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)
@@ -321,7 +322,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)