aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/3 static
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-11-19 17:49:08 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2015-11-19 17:49:08 +0200
commitc75b75d487d8a57fbcab9c48305c0003a91fb811 (patch)
tree904d42c50d8dfc6b851e3f7658e8236e0469dd6f /test cases/common/3 static
parent4522a3a9a53ef056d7c52a7cd74d1f4b1276f2e9 (diff)
downloadmeson-c75b75d487d8a57fbcab9c48305c0003a91fb811.zip
meson-c75b75d487d8a57fbcab9c48305c0003a91fb811.tar.gz
meson-c75b75d487d8a57fbcab9c48305c0003a91fb811.tar.bz2
Do not use linker arguments on static libraries.
Diffstat (limited to 'test cases/common/3 static')
-rw-r--r--test cases/common/3 static/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/test cases/common/3 static/meson.build b/test cases/common/3 static/meson.build
index fd33e1c..3dee93b 100644
--- a/test cases/common/3 static/meson.build
+++ b/test cases/common/3 static/meson.build
@@ -1,2 +1,3 @@
project('static library test', 'c')
-lib = static_library('mylib', 'libfile.c')
+lib = static_library('mylib', 'libfile.c',
+ link_args : '-THISMUSTNOBEUSED') # Static linker needs to ignore all link args.