aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-09-22 14:34:41 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-09-22 14:34:41 +0000
commita13b2c69863e550dd4de99e5dde7c2e1b08b661e (patch)
tree6473ae3ca9f50e0f4462d6a2506517322d813eed
parent55ec79c32f180957840940f4e79763f3658932fa (diff)
fixed linking on MinGW to use -lpd and to look in both pd/src and pd/bin
svn path=/trunk/externals/zexy/; revision=12425
-rw-r--r--src/configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/configure.ac b/src/configure.ac
index f779ea2..f11efaf 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -59,7 +59,7 @@ fi
if test $(uname | sed -e 's/^MINGW.*/NT/') = NT ;
then
LD=${CC}
-# LDFLAGS="-shared pd.dll"
+ LDFLAGS="-L${with_pd}/src -L${with_pd}/bin -lpd"
EXT=dll
fi
@@ -302,8 +302,6 @@ fi
AC_CHECK_LDFLAGS([-bundle -undefined suppress -flat_namespace])
# )
-AC_CHECK_LDFLAGS([-shared pd.dll])
-
if test x${KERN} = xIRIX64; then
LDFLAGS="-n32 -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \
-OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \