Skip to content

Commit

Permalink
Disable RTLD_DEEPBIND on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed May 3, 2024
1 parent a215c61 commit f275981
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/alpaqa/src/util/dl-flags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ DynamicLoadFlags::operator int() const {
#else
return (global ? RTLD_GLOBAL : RTLD_LOCAL) | //
(lazy ? RTLD_LAZY : RTLD_NOW) | //
(nodelete ? RTLD_NODELETE : 0) | //
(deepbind ? RTLD_DEEPBIND : 0);
(nodelete ? RTLD_NODELETE : 0) |
#ifdef RTLD_DEEPBIND
(deepbind ? RTLD_DEEPBIND : 0) |
#endif
0;
#endif
}

Expand Down

0 comments on commit f275981

Please sign in to comment.