| 28 Jul 2025 |
raitobezarius (DECT: 7248) | NIX_SSL_CERT_FILE | 20:28:53 |
raitobezarius (DECT: 7248) | my beloved. | 20:28:57 |
raitobezarius (DECT: 7248) | rebase time | 20:29:17 |
emily | uhh | 20:50:55 |
emily | please do not | 20:50:57 |
raitobezarius (DECT: 7248) | set it? | 20:51:03 |
emily | yes | 20:51:05 |
emily | it's very deprecated | 20:51:06 |
raitobezarius (DECT: 7248) | if you teach me how to replace it, i'm glad | 20:51:13 |
emily | sorry I'm missing context I just saw -flat_namespace and started twitching | 20:51:24 |
raitobezarius (DECT: 7248) | but right now i'm trying to understand why linux and darwin differs on giving a certificate to curl | 20:51:26 |
emily | so many headaches have resulted | 20:51:28 |
raitobezarius (DECT: 7248) | In reply to @emilazy:matrix.org sorry I'm missing context I just saw -flat_namespace and started twitching it's ok, i'm ranting here to summon darwin expertise | 20:51:40 |
raitobezarius (DECT: 7248) | and "don't do X or Y" | 20:51:43 |
emily | (I wish Linux had two-level namespaces) | 20:51:46 |
raitobezarius (DECT: 7248) | and hopefully suggestions on how to do better | 20:51:48 |
emily | if you are trying to do preload type stuff I am not sure what the correct solution is (it may be "don't do that") | 20:52:11 |
emily | but maybe you can install_name_tool to adjust the internal name | 20:52:40 |
emily | with -id or such | 20:52:48 |
raitobezarius (DECT: 7248) | what i'm seeing is | 20:53:06 |
raitobezarius (DECT: 7248) | (a) if i set -flat_namespace, static initializers seems to run | 20:53:15 |
raitobezarius (DECT: 7248) | (b) if i don't, they don't | 20:53:18 |
raitobezarius (DECT: 7248) | so how can I get static initializers to run in plugins on macOS? :D | 20:53:33 |
raitobezarius (DECT: 7248) | install_name_tool is not even a thing at this step I suppose? | 20:53:46 |
raitobezarius (DECT: 7248) | or meson should do it for me? | 20:53:51 |
raitobezarius (DECT: 7248) | but if removing flat_namespace means moving everything to lazy initialization in the C++ codebase | 20:54:16 |
raitobezarius (DECT: 7248) | i'm not going to do that cleanup | 20:54:19 |
raitobezarius (DECT: 7248) | i'd rather take this or disable the entire plugin feature for macOS | 20:54:26 |
emily | I believe the static initializers should run before any other code in the loaded library | 20:56:44 |
emily | though after a quick Google, it may be that you are doing the linking a bit wrong | 20:57:06 |