Skip to content

Conversation

@thatcomputerguy0101
Copy link

This replaces malloc.h with stdlib.h, and adds discovery for MacOS libraries. The double *. in the library glob prevents matching the libopencv_java bundle dylib which cannot be loaded via fetchcontent.

@thatcomputerguy0101
Copy link
Author

MacOS still needs added to the build workflow.

@thatcomputerguy0101 thatcomputerguy0101 marked this pull request as draft November 26, 2025 21:06
@mcm001
Copy link
Collaborator

mcm001 commented Nov 26, 2025

Can/should we be building universal binaries?

@thatcomputerguy0101
Copy link
Author

I added additional targets for macOS to the build action. I was going to try to get both targets to build on the Arm runner, but I was encountering a problem where the OpenCV arch got dropped if I tried to change the complier target.

@thatcomputerguy0101
Copy link
Author

Can/should we be building universal binaries?

Maybe? I didn't try that yet.

@thatcomputerguy0101
Copy link
Author

Building a universal binary seemed to work, which yields fewer artifacts to distribute.

Co-authored-by: Gold856 <117957790+Gold856@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants