From 244073257bf1613428d81b8fd249ce7c544f1ba7 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Wed, 11 Jan 2017 23:02:44 -0500
Subject: [PATCH] fix arm (non-x86/x86_64) compiler flag per linker error
 directions, remove -lpd

---
 externals/OSCx/configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/externals/OSCx/configure.ac b/externals/OSCx/configure.ac
index 781ddc8ff..1e5816820 100644
--- a/externals/OSCx/configure.ac
+++ b/externals/OSCx/configure.ac
@@ -91,11 +91,11 @@ else
 					 LIBS="-lc -lm"
 					 ;;
         *-*-linux*)
-                CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O1"
+                CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O1 -fPIC"
 					 LDFLAGS="-Wl,--export-dynamic -shared"
 					 INCLUDES="$INCLUDES"
 					 pd_suffix=pd_linux
-					 LIBS="-L../../../pd/bin -lpd -lc -lm"
+					 LIBS="-L../../../pd/bin -lc -lm"
 					 ;;
         sparc-sun-*)
 		          echo "YOU HAVE A SPARC STATION,	not setting any flags, not supported yet"
-- 
GitLab