diff options
author | Emil Velikov <[email protected]> | 2014-05-25 03:23:42 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-05-25 23:21:47 +0100 |
commit | 7a63bd960c33127dbce0e5802a7cda96dc011104 (patch) | |
tree | 6595890103cb4c7fc9e93bdbde9f665042511f65 /src/gallium/targets/pipe-loader | |
parent | 239df5b654fcc52ba2e35370476cb03193dba04c (diff) |
automake: correctly append the version-script
Turns out that the AC conditional did not include the
the version-scripts as expected. Rather it truncated
the remaining linker flags.
Cc: Jon TURNEY <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Jon TURNEY <[email protected]>
Diffstat (limited to 'src/gallium/targets/pipe-loader')
-rw-r--r-- | src/gallium/targets/pipe-loader/Makefile.am | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am index 93e497f9943..500dfce1932 100644 --- a/src/gallium/targets/pipe-loader/Makefile.am +++ b/src/gallium/targets/pipe-loader/Makefile.am @@ -47,12 +47,14 @@ AM_LDFLAGS = \ -module \ -no-undefined \ -avoid-version \ -if HAVE_LD_VERSION_SCRIPT - -Wl,--version-script=$(top_srcdir)/src/gallium/targets/pipe-loader/pipe.sym \ -endif $(GC_SECTIONS) \ $(LD_NO_UNDEFINED) +if HAVE_LD_VERSION_SCRIPT +AM_LDFLAGS += \ + -Wl,--version-script=$(top_srcdir)/src/gallium/targets/pipe-loader/pipe.sym +endif + if HAVE_MESA_LLVM PIPE_LIBS += $(LLVM_LIBS) AM_LDFLAGS += $(LLVM_LDFLAGS) |