This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
remove library path from
- From: Hiroki Kaminaga <kaminaga at sm dot sony dot co dot jp>
- To: gcc-help at gcc dot gnu dot org
- Cc: kaminaga at sm dot sony dot co dot jp
- Date: Tue, 19 Jun 2007 17:20:48 +0900 (JST)
- Subject: remove library path from
Hi!
Is there any option to remove library serach directory from list?
For example,
$ gcc foo.c -L/i/dont/like/this/dir/ -ldontfindme
and libdontfindme.so is located in /i/dont/like/this/dir/, however,
consider this as some configure test, and expects to fail.
(configure test for whether or not to add -lxxx)
There were many way to add search dirs, but I could not find an option
to remove search dirs.
Is there something like -Lno<DIR> ?
Thanks in Advance,
(Hiroki Kaminaga)
t
--