$NetBSD: patch-am,v 1.1 2003/12/13 20:26:03 ben Exp $ --- Makefile.libnames.orig 2003-02-25 19:24:01.000000000 -0800 +++ Makefile.libnames @@ -11,14 +11,14 @@ LIBCSND_S = libcsound.a # dynamic library ifneq ($(findstring -DMYFLT=double,$(DEFINES)),) -CSLIB = -lcsound64 +CSLIB = -Wl,-R${LIBDIR} -lcsound64 ifneq ($(findstring .so,$(DLLSUFFIX)),) LIBCSND_D = libcsound64$(DLLSUFFIX) else LIBCSND_D = csound64$(DLLSUFFIX) endif else -CSLIB = -lcsound32 +CSLIB = -Wl,-R${LIBDIR} -lcsound32 ifneq ($(findstring .so,$(DLLSUFFIX)),) LIBCSND_D = libcsound32$(DLLSUFFIX) else