diff options
author | Nikita Churaev <lamefun.x0r@gmail.com> | 2018-01-09 22:36:13 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-01-09 21:36:13 +0200 |
commit | de8018a17d9b84b2a57761ad624cc669c4e136a4 (patch) | |
tree | 171b7c8b1b342d4aec99a371d05fbac9fddfc25d /mesonbuild/backend/ninjabackend.py | |
parent | 398aed6e4991016c0bba4ee829bf65f98f1a6447 (diff) | |
download | meson-de8018a17d9b84b2a57761ad624cc669c4e136a4.zip meson-de8018a17d9b84b2a57761ad624cc669c4e136a4.tar.gz meson-de8018a17d9b84b2a57761ad624cc669c4e136a4.tar.bz2 |
Add `export_dynamic` argument to `executable`. (#2662)
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 2429fba..2945d6a 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -2341,6 +2341,9 @@ rule FORTRAN_DEP_HACK # If gui_app, and that's significant on this platform if target.gui_app and hasattr(linker, 'get_gui_app_args'): commands += linker.get_gui_app_args() + # If export_dynamic, add the appropriate linker arguments + if target.export_dynamic: + commands += linker.gen_export_dynamic_link_args(self.environment) # If implib, and that's significant on this platform (i.e. Windows using either GCC or Visual Studio) if target.import_filename: commands += linker.gen_import_library_args(os.path.join(self.get_target_dir(target), target.import_filename)) |