Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use uuid from util-linux on MacOS #488

Merged
merged 3 commits into from
Jan 21, 2022
Merged

Do not use uuid from util-linux on MacOS #488

merged 3 commits into from
Jan 21, 2022

Conversation

plajjan
Copy link
Contributor

@plajjan plajjan commented Jan 21, 2022

It appears that we might have been compiling with a uuid.h from the
MacOS base / SDK but linked with uuid from util-linu and this might be
the cause of certain segfaults.

Looks like we don't need -luuid on Mac, it works anyway, so trying to
align so we get the same version of headers and library by ditching use
of util-linux libuuid on Mac. We still use it on Linux!

Fixes #487.

It appears that we might have been compiling with a uuid.h from the
MacOS base / SDK but linked with uuid from util-linu and this might be
the cause of certain segfaults.

Looks like we don't need -luuid on Mac, it works anyway, so trying to
align so we get the same version of headers and library by ditching use
of util-linux libuuid on Mac. We still use it on Linux!
It's not needed anymore, we use the native uuid lib on MacOS.
@plajjan plajjan merged commit c390324 into main Jan 21, 2022
@plajjan plajjan deleted the fix-mac-uuid branch January 21, 2022 21:19
@plajjan plajjan mentioned this pull request Jan 26, 2022
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.

None yet

1 participant