make: fix cannot find -ltcc with --disable-rpath
This commit is contained in:
parent
73cb4392ab
commit
44f7055a04
1 changed files with 1 additions and 2 deletions
3
Makefile
3
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
|
||||
|
|
Loading…
Reference in a new issue