aboutsummaryrefslogtreecommitdiffstats
path: root/src/gbm/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-03-13 02:32:29 +0000
committerEmil Velikov <[email protected]>2014-03-31 12:59:16 +0100
commit5503c227d98c6030455cc94197d462a066294f37 (patch)
treed673eda2a1a6a55916eb0d70d0a9550a838e272d /src/gbm/Makefile.am
parent6c8d8119caf99fffcfb2f50763267ae0a9ed8738 (diff)
automake: consistently use -no-undefined
Set the flag for all but the dri targets. They have missing glapi symbols which are required for the normal operation with the X server. Jon, I fear that you'll need to carry the "no-undefined" hunk locally when building the dri drivers under cygwin. Cc: Jon TURNEY <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gbm/Makefile.am')
-rw-r--r--src/gbm/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gbm/Makefile.am b/src/gbm/Makefile.am
index 6abd2a746d6..d19716309be 100644
--- a/src/gbm/Makefile.am
+++ b/src/gbm/Makefile.am
@@ -19,7 +19,9 @@ include_HEADERS = main/gbm.h
libgbm_la_SOURCES = \
main/gbm.c \
main/backend.c
-libgbm_la_LDFLAGS = -version-info 1:0
+libgbm_la_LDFLAGS = \
+ -no-undefined \
+ -version-info 1:0
libgbm_la_LIBADD = \
$(top_builddir)/src/loader/libloader.la \
$(DLOPEN_LIBS)