From 90355c78ed51e414427349172759b31696281a6f Mon Sep 17 00:00:00 2001 From: Henry Kroll III Date: Mon, 20 Dec 2010 05:55:54 -0800 Subject: configure: add --disable-rpath option (Fedora) --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e6367fc..90ba184 100644 --- a/Makefile +++ b/Makefile @@ -65,6 +65,10 @@ endif ifdef DISABLE_STATIC LIBTCC=libtcc.so.1.0 LINK_LIBTCC=-Wl,-rpath,"$(libdir)" +ifdef DISABLE_RPATH +CFLAGS+=-fPIC +LINK_LIBTCC=-ltcc +endif else LIBTCC=libtcc.a LINK_LIBTCC= -- cgit v1.3.1