aboutsummaryrefslogtreecommitdiff
path: root/desiredata/src/configure
diff options
context:
space:
mode:
Diffstat (limited to 'desiredata/src/configure')
-rwxr-xr-xdesiredata/src/configure12
1 files changed, 6 insertions, 6 deletions
diff --git a/desiredata/src/configure b/desiredata/src/configure
index d49d368c..16cfc6ae 100755
--- a/desiredata/src/configure
+++ b/desiredata/src/configure
@@ -5296,11 +5296,11 @@ MIDISRC="s_midi_none.c"
WLIB=""
STRIP="meuhhhhh"
-if test "$OS" = ""; then
- OS=$(uname -s)
+if test "$USE_OS" = ""; then
+ USE_OS=$(uname -s)
fi
-if test $OS = Linux; then
+if test $USE_OS = Linux; then
LDFLAGS="-Wl,--export-dynamic "
EXT=pd_linux
LIBSUFFIX=.so
@@ -5314,7 +5314,7 @@ if test $OS = Linux; then
WSTRIP=""
fi
-if test $OS = Darwin; then
+if test $USE_OS = Darwin; then
LDFLAGS=""
EXT=pd_darwin
LIBSUFFIX=.dylib
@@ -5342,7 +5342,7 @@ if test $OS = Darwin; then
WSTRIP=""
fi
-if test $(echo $OS | cut -f1 -d_) = CYGWIN; then
+if test $(echo $USE_OS | cut -f1 -d_) = CYGWIN; then
LDFLAGS="-Wl,--export-dynamic "
EXT=dll
LIBSUFFIX=.dll
@@ -5354,7 +5354,7 @@ if test $(echo $OS | cut -f1 -d_) = CYGWIN; then
WSTRIP=""
fi
-if test $(echo $OS | cut -f1 -d_) = MINGW32; then
+if test $(echo $USE_OS | cut -f1 -d_) = MINGW32; then
LDFLAGS="-lm -lpthreadGC2 -lwsock32 -lwinmm -lole32 -L../src -lpd"
# LDFLAGS="-lm /home/matju/pthreads-mingw/lib/libpthreadGC2.a -lwsock32 -lwinmm -lole32 -L../src -lpd"
EXT=dll