diff options
Diffstat (limited to 'src/gallium/targets/egl-static/Makefile.am')
-rw-r--r-- | src/gallium/targets/egl-static/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am index 7a2e5552205..bd18f995161 100644 --- a/src/gallium/targets/egl-static/Makefile.am +++ b/src/gallium/targets/egl-static/Makefile.am @@ -48,7 +48,9 @@ AM_LDFLAGS = \ -module \ -no-undefined \ -avoid-version \ +if HAVE_LD_VERSION_SCRIPT -Wl,--version-script=$(top_srcdir)/src/gallium/targets/egl-static/egl.sym \ +endif $(GC_SECTIONS) \ $(LD_NO_UNDEFINED) |