diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-01-05 21:12:14 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-01-05 21:12:14 +0200 |
commit | b3f656e2a796f772b9b9ced3a3dcbd2cbcfc8102 (patch) | |
tree | 5998e45717b83b80d89cccbaa454a8e9e4ad2e8c /shellgenerator.py | |
parent | 20e43ff7f9794dac67a0dfabfdefdecb6f08d7ee (diff) | |
download | meson-b3f656e2a796f772b9b9ced3a3dcbd2cbcfc8102.zip meson-b3f656e2a796f772b9b9ced3a3dcbd2cbcfc8102.tar.gz meson-b3f656e2a796f772b9b9ced3a3dcbd2cbcfc8102.tar.bz2 |
Put fpic flags in linker command line too.
Diffstat (limited to 'shellgenerator.py')
-rwxr-xr-x | shellgenerator.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shellgenerator.py b/shellgenerator.py index 2d4af7c..ac8c987 100755 --- a/shellgenerator.py +++ b/shellgenerator.py @@ -81,6 +81,7 @@ class ShellGenerator(): commands += linker.get_std_exe_link_flags() elif isinstance(target, interpreter.SharedLibrary): commands += linker.get_std_shared_lib_link_flags() + commands += linker.get_pic_flags() elif isinstance(target, interpreter.StaticLibrary): commands += linker.get_std_link_flags() else: |