diff src/madplug/Makefile @ 635:4b022820566b trunk

[svn] - add rpath to make sure that plugins pick libid3tag up from libdir.
author yaz
date Sun, 11 Feb 2007 06:22:20 -0800
parents 65606ed19c76
children 8f7a5883e08c
line wrap: on
line diff
--- a/src/madplug/Makefile	Sun Feb 11 05:39:56 2007 -0800
+++ b/src/madplug/Makefile	Sun Feb 11 06:22:20 2007 -0800
@@ -19,6 +19,8 @@
 
 CFLAGS   += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) $(ARCH_DEFINES) $(MAD_CFLAGS) -I../../intl -I../..
 
+LDFLAGS += -Wl,-rpath=$(libdir)
+
 LIBADD = -L$(libdir) -lid3tag $(MAD_LIBS) $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
 
 include ../../mk/objective.mk