Re: [PATCH] Make mjpegtools bui ld with LDFLAGS=-Wl, --as-needed
"Steven M. Schultz" <[email protected]> Thu, 27 Mar 2008 07:54:24 -0700 (PDT)
| Newsgroups | gmane.comp.video.mjpeg.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 27 Mar 2008, Fabian Greffrath wrote: > Thank you. However, compilation fails with $(PTHREAD_LIBS), because the variable is set empty That's because on MY systems nothing is needed for PTHREAD_LIBS since (correctly I think) threads are integrated into the system library. The problem was in the Makefile.am files - the usage should have been @PTHREAD_LIBS@ instead of $(PTHREADS_LIBS) so that automake would do the substitution. Try it now.. > To avoid unnecessary dependencies on libraries. Well, they're not "unnecessary" - all of the dependencies are needed on my systems (for one thing or another ;)). Cheers, Steven Schultz ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace