From: Dan Dennedy Date: Thu, 22 Nov 2012 16:53:07 +0000 (-0800) Subject: NetBSD needs -fPIC (sourceforce-178). X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=cc3c5938c35b8c65ec45d964b5d74f3e52475fba;p=mlt NetBSD needs -fPIC (sourceforce-178). --- diff --git a/configure b/configure index a170e71a..228b05ae 100755 --- a/configure +++ b/configure @@ -111,7 +111,7 @@ build_config() NetBSD) [ "$optimisations" = "true" ] && echo "OPTIMISATIONS+=-ffast-math" - echo "CFLAGS+=-pthread" + echo "CFLAGS+=-fPIC -pthread" echo "SHFLAGS=-shared" echo "RDYNAMIC=-rdynamic" echo "LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed"