summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/Makefile.template
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-05-12 16:03:04 +0800
committerChia-I Wu <[email protected]>2010-05-19 13:38:57 -0600
commitbc73a6289f5e28636d579e17e8a8d70a2d8d7500 (patch)
tree94e8954e2337c9f0ad75cfcc32268357c9fdbd50 /src/egl/drivers/Makefile.template
parent7f19b65b1ae4b68129b476b3089264ea9b25e6e6 (diff)
egl: Link drivers back to libEGL.
Drivers need symbols from libEGL. Without back-linking, the build fails on Cygwin.
Diffstat (limited to 'src/egl/drivers/Makefile.template')
-rw-r--r--src/egl/drivers/Makefile.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/Makefile.template b/src/egl/drivers/Makefile.template
index ca2f7d5b3ad..08e82c65e9b 100644
--- a/src/egl/drivers/Makefile.template
+++ b/src/egl/drivers/Makefile.template
@@ -26,7 +26,7 @@ $(EGL_DRIVER): $(EGL_OBJECTS) Makefile $(TOP)/src/egl/drivers/Makefile.template
@$(MKLIB) -o $(EGL_DRIVER) -noprefix \
-linker '$(CC)' -ldflags '$(LDFLAGS)' \
-L$(TOP)/$(LIB_DIR) $(MKLIB_OPTIONS) \
- $(EGL_OBJECTS) $(EGL_LIBS)
+ $(EGL_OBJECTS) $(EGL_LIBS) -l$(EGL_LIB)
.c.o:
$(CC) -c $(EGL_INCLUDES) $(CFLAGS) $(EGL_CFLAGS) $< -o $@