libbsd include path issue
Gedare Bloom
gedare at rtems.org
Sun Jul 23 11:49:11 UTC 2017
On Sat, Jul 22, 2017 at 1:30 PM, Christian Mauderer <list at c-mauderer.de> wrote:
> Hello Sichen,
>
> as discussed in our private chat I'm quite convinced that your problem
> is that the source file is in "freebsd/crypto/openssl/crypto" which
> doesn't end on a path called "openssl".
>
> As far as I can see, there is currently no support in our build system
> for such cases. I created a (still quite uggly) hack that tries to copy
> the headers to a path in the build tree. Could you please try out the
> (mostly untested) attached patch? You should be able to specify
> headerPaths() lines in builder.py which have different endings than the
> original source paths.
>
No patch attached
> To our waf experts: Please tell me, that there is a better solution. If
> not, it would be good if you could give me some feedback for a better
> and cleaner solution. And: I currently only tried half a build. Do you
> see any problems on any platforms on build or install with that
> solution?
>
You should be able to specify the 'includes' attribute of the build
rule to point it to the right directory wherever the parent of openssl
is.
But really, this openssl/opensslv.h should be located already in an
include/ directory that would be found?
> Kind regards
>
> Christian
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list