-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Build shared libraries by default with -shared
#25817
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
base: main
Are you sure you want to change the base?
Conversation
The old behavior was to build fake/dummy shared libraries which were really just normal object files. This old behavior can still achieved by settings the new `FAKE_DYLIBS` settings.
|
My vague concern is that in practice I recall various build systems used |
True, yes, those are exactly the users who would want to start using We could land this with |
|
Do we currently emit any kind of warning when a user specifies |
yes we have had that for a very long time: |
|
I guess that's good because it raises awareness of the issue, but maybe bad if those folks then just go and add |
Or folks that run cmake the don't read all the warnings. |
|
OK, I'm going to split of the FAKE_DYLIBS setting into a new change that can be landed without changing any existing behaviour. |
This this change the default behaviour does not change since `FAKE_DYLIBS` defaults to false. However for users who want to try out a more traditional shared library workflow `-sFAKE_DYLIBS=0` can be used enable shared library output with `-shared`. At some point in the future we can consider making this the default. Split out from emscripten-core#25817
This this change the default behaviour does not change since `FAKE_DYLIBS` defaults to false. However for users who want to try out a more traditional shared library workflow `-sFAKE_DYLIBS=0` can be used enable shared library output with `-shared`. At some point in the future we can consider making this the default. Split out from emscripten-core#25817
This this change the default behaviour does not change since `FAKE_DYLIBS` defaults to false. However for users who want to try out a more traditional shared library workflow `-sFAKE_DYLIBS=0` can be used enable shared library output with `-shared`. At some point in the future we can consider making this the default. Split out from emscripten-core#25817
This this change the default behaviour does not change since `FAKE_DYLIBS` defaults to false. However for users who want to try out a more traditional shared library workflow `-sFAKE_DYLIBS=0` can be used enable shared library output with `-shared`. At some point in the future we can consider making this the default. Split out from emscripten-core#25817
This this change the default behaviour does not change since `FAKE_DYLIBS` defaults to false. However for users who want to try out a more traditional shared library workflow `-sFAKE_DYLIBS=0` can be used enable shared library output with `-shared`. At some point in the future we can consider making this the default. Split out from emscripten-core#25817
The old behavior was to build fake/dummy shared libraries which were really just normal object files. This old behavior can still achieved by settings the new
FAKE_DYLIBSsettings.