aboutsummaryrefslogtreecommitdiff
path: root/shellgenerator.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-01-05 21:12:14 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-01-05 21:12:14 +0200
commitb3f656e2a796f772b9b9ced3a3dcbd2cbcfc8102 (patch)
tree5998e45717b83b80d89cccbaa454a8e9e4ad2e8c /shellgenerator.py
parent20e43ff7f9794dac67a0dfabfdefdecb6f08d7ee (diff)
downloadmeson-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-xshellgenerator.py1
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: