silencing "ld: warning: directory not found..." on command line
silencing "ld: warning: directory not found..." on command line
- Subject: silencing "ld: warning: directory not found..." on command line
- From: Adam Mercer <email@hidden>
- Date: Sun, 16 Dec 2012 00:05:18 -0600
Hi
I'm running into a minor issue when building one of my software
projects on OS X. The project uses the autotools as we need to support
multiple platforms but when building on OS X warnings of the following
form are displayed when linking:
ld: warning: directory not found for option '-L//usr/local/lib'
The above is just an example but we get the warning whenever ld is
called with -L specifying a non-existent path. On linux systems ld
doesn't complain if a non-existent path is specified, it's just
ignored.
Does anyone know if there is a way to tell ld, on the Mac, to ignore
non-existent directories?
Cheers
Adam
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden