summaryrefslogtreecommitdiff
path: root/src/gbm
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-03-13 02:32:29 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2014-03-31 12:59:16 +0100
commit5503c227d98c6030455cc94197d462a066294f37 (patch)
treed673eda2a1a6a55916eb0d70d0a9550a838e272d /src/gbm
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 <jon.turney@dronecode.org.uk> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/gbm')
-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)