From 44f7055a0486fd58687705d014d4a9d0dc189d82 Mon Sep 17 00:00:00 2001 From: Henry Kroll III Date: Tue, 21 Dec 2010 08:44:48 -0800 Subject: [PATCH] make: fix cannot find -ltcc with --disable-rpath --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d970f5a..e1a77ce 100644 --- a/Makefile +++ b/Makefile @@ -66,8 +66,7 @@ ifdef DISABLE_STATIC LIBTCC=libtcc.so.1.0 LINK_LIBTCC=-Wl,-rpath,"$(libdir)" ifdef DISABLE_RPATH -CFLAGS+=-fPIC -LINK_LIBTCC=-ltcc +LINK_LIBTCC= endif else LIBTCC=libtcc.a