libdnet icon indicating copy to clipboard operation
libdnet copied to clipboard

Cross compiling fails with 1.16.1

Open heitbaum opened this issue 2 years ago • 3 comments

With the addition of libcheck and the logic in the configure script.

  • Configure finds the include check.h in /user/include (not the sysroot). Using —with-check to the cross compile sysroot/usr allows the build to complete.

it would be nice to be able to disable libcheck during build too.

heitbaum avatar May 03 '22 12:05 heitbaum

Thanks for reporting this issue. I agree, check could be optional, as it's only used for the test suite. So basically, if check is available we could build the tests, else don't. Let me think about this.

ofalk avatar May 03 '22 16:05 ofalk

ok. Back to this. If you'd be willing to support me with a MR/patch, that would be highly appreciated. I'm happy to review it, but I'm currently stressed a bit...

ofalk avatar May 03 '22 17:05 ofalk

No problems. Let me take a look.

heitbaum avatar May 03 '22 17:05 heitbaum

Any update on this?

ofalk avatar Jan 11 '23 15:01 ofalk

@ofalk and @heitbaum 👋 I have introduced a --enable-check flag to help me out with the build issue on the homebrew side, let me know if that works for both of you. Thanks!

chenrui333 avatar Jan 22 '23 03:01 chenrui333

Again, thanks a lot @chenrui333 !

ofalk avatar Jan 23 '23 19:01 ofalk