Build shared libraries by default with -shared#25817
Build shared libraries by default with -shared#25817sbc100 wants to merge 1 commit intoemscripten-core:mainfrom
-shared#25817Conversation
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 default behaviour does not change since `FAKE_DYLIBS` defaults to true. 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 #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.