On 24/07/2017 00:20, Christian Mauderer wrote: > Am 23.07.2017 um 15:57 schrieb Gedare Bloom: >> On Sun, Jul 23, 2017 at 8:38 AM, Christian Mauderer <l...@c-mauderer.de> >> wrote: >>> The problem here is that the opensslv.h is in the directory >>> freebsd/crypto/openssl/crypto. It seems that some makefile magic would >>> install it to openssl/opensslv.h for the normal non-libbsd case (most >>> likely the "link" rule in freebsd/crypto/openssl/crypto/Makefile). >>> >> ah, I see. Then I can't think of any better solution than to make a >> rule something like you did that will copy the header file into an >> appropriate location of the build tree. The other alternative would be >> to create a softlink include/openssl in the source tree, effectively >> doing what the freebsd makefile would do during a build. > > I have shortly thought about that too. I think I've seen some functions > in waf that might could create that softlink. But I had two problems > with that: > > 1. Like I said, I have seen some functions that _might_ could create a > link but I'm not sure what would be the best and correctest way. Any hints?
Could a waf 'subst' target be made to work? https://github.com/waf-project/waf/tree/master/demos/subst > 2. I have no idea how well that would work on a Windows build host. I > know that at least msys2 doesn't support soft links out of the box. They > are replaced by a copy. Any experience regarding that? I would avoid a symlink. Either of these solutions are not great but I also cannot see another way without effecting the upstream. Chris _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel