summaryrefslogtreecommitdiff
path: root/test cases/linuxlike/3 linker script
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-03-07 20:02:36 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2014-03-07 20:02:36 +0200
commit9318203257c85209b5c60a9dc2cb59c5feaae23d (patch)
tree4debe01affda0c27b64c4f7a34413dd6724b8f76 /test cases/linuxlike/3 linker script
parent040083cdb613096ed50463df2af3be005e97c152 (diff)
downloadmeson-9318203257c85209b5c60a9dc2cb59c5feaae23d.tar.gz
Can get source dir location and use it to build stuff.
Diffstat (limited to 'test cases/linuxlike/3 linker script')
-rw-r--r--test cases/linuxlike/3 linker script/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/linuxlike/3 linker script/meson.build b/test cases/linuxlike/3 linker script/meson.build
index 8589eb32a..30fcf62c2 100644
--- a/test cases/linuxlike/3 linker script/meson.build
+++ b/test cases/linuxlike/3 linker script/meson.build
@@ -1,6 +1,6 @@
project('linker script', 'c')
-vflag = '-Wl,--version-script,@0@/bob.map'.format('/home/jpakkane/workspace/meson/test cases/linuxlike/3 linker script')
+vflag = '-Wl,--version-script,@0@/bob.map'.format(meson.current_source_dir())
l = shared_library('bob', 'bob.c', link_flags : vflag)
e = executable('prog', 'prog.c', link_with : l)