On 8 November 2011 14:51, Henry Vermaak <[email protected]> wrote: > On 8 November 2011 14:38, Henry Vermaak <[email protected]> wrote: >> Sorry, bad assumption, it's not the compiler. Fpcmake adds all the >> entries in /etc/ld.so.conf, which gets added in turn to -Fl option(s). >> The problem is that the entries in /etc/ld.so.conf may contain >> wildcards. Using $(wildcard $var) won't work if the entry doesn't >> contain a pattern, though, so each entry will have to be checked for >> wildcards. > > Actually, a solution would be to add this to fpcmake.ini: > > OTHERLIBDIR += $(wildcard $(OTHERLIBDIR)) > > This is a bit dirty, since the wildcard will still be passed to -Fl, > which will ignore it, presumably. A better solution would of course > be to enable -Fl to accept wildcards.
Sigh, none of this will work, since, /etc/ld.so.conf here contains a wildcard of files (with an "include" in front), which in turn contains directories. Fpcmake assumes that /etc/ld.so.conf contains directories. Is this already solved in fpmake? Henry _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
