diff options
author | Kristian Høgsberg <[email protected]> | 2011-05-16 16:29:53 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2011-05-18 18:57:05 -0400 |
commit | bfaa458445978b5210e6866256d19448db2c6dd0 (patch) | |
tree | 13fbd67fb3402eeaae074677410d5f7dc8d9f67a /src/egl | |
parent | 3e43adef95ee24dd218279d2de56939b90edcb4c (diff) |
wayland: Fix link order for libwayland-drm.a
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/main/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile index 6c242557e7f..6c4a392760f 100644 --- a/src/egl/main/Makefile +++ b/src/egl/main/Makefile @@ -54,10 +54,6 @@ OBJECTS = $(SOURCES:.c=.o) LOCAL_CFLAGS = -D_EGL_OS_UNIX=1 LOCAL_LIBS = -ifneq ($(findstring wayland, $(EGL_PLATFORMS)),) -LOCAL_LIBS += $(TOP)/src/egl/wayland/wayland-drm/libwayland-drm.a -endif - # egl_dri2 and egl_glx are built-ins ifeq ($(filter dri2, $(EGL_DRIVERS_DIRS)),dri2) LOCAL_CFLAGS += -D_EGL_BUILT_IN_DRIVER_DRI2 @@ -68,6 +64,10 @@ endif EGL_LIB_DEPS += $(LIBUDEV_LIBS) $(DLOPEN_LIBS) $(LIBDRM_LIB) $(WAYLAND_LIBS) endif +ifneq ($(findstring wayland, $(EGL_PLATFORMS)),) +LOCAL_LIBS += $(TOP)/src/egl/wayland/wayland-drm/libwayland-drm.a +endif + ifeq ($(filter glx, $(EGL_DRIVERS_DIRS)),glx) LOCAL_CFLAGS += -D_EGL_BUILT_IN_DRIVER_GLX LOCAL_LIBS += $(TOP)/src/egl/drivers/glx/libegl_glx.a |