pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pcre-ocaml buildlink problems

On Wednesday 08 October 2014 12:51:28 Joerg Sonnenberger wrote:
> On Wed, Oct 08, 2014 at 11:09:17AM +0100, Jaap Boender wrote:
> > The wrapper logs show that gcc is first called with -lpcre_stubs BEFORE
> > /usr/pkg/lib/ocaml/libasmrun.a in the list of arguments. However,
> > somewhere along the line, this order gets changed around and in the
> > final gcc call, - lpcre_stubs ends up AFTER
> > /usr/pkg/lib/ocaml/libasmrun.a.
> Reorder logic. Fun. Can't you use -L/usr/pkg/lib/ocaml -lasmrun?

Possibly, but that would involve patching ocaml itself (that's where the 
linker call is generated). It can be done, but I'm hoping there is an easier 
way to fix this...

"Then I'll tell the truth. We're allowed to do that in emergencies."

Home | Main Index | Thread Index | Old Index