blob: b68cb1088cea9f0766e9d18650dca59198b290ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$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
|