From: Brian Paul Date: Fri, 30 May 2008 17:40:23 +0000 (-0600) Subject: link libEGL with Xlib X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0de5a2dafb5143f01a3c6dc367c85aa0800466b;p=mesa.git link libEGL with Xlib --- diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile index 5b341a19be2..96742bb4bc6 100644 --- a/src/egl/main/Makefile +++ b/src/egl/main/Makefile @@ -46,6 +46,8 @@ OBJECTS = $(SOURCES:.c=.o) # Undefined for now LOCAL_CFLAGS = -D_EGL_PLATFORM_X=1 +LIBS = -lX11 + .c.o: $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $(LOCAL_CFLAGS) $< -o $@ @@ -60,7 +62,7 @@ library: $(TOP)/$(LIB_DIR)/libEGL.so $(TOP)/$(LIB_DIR)/libEGL.so: $(OBJECTS) $(TOP)/bin/mklib -o EGL -major 1 -minor 0 \ - -install $(TOP)/$(LIB_DIR) -ldl $(OBJECTS) + -install $(TOP)/$(LIB_DIR) -ldl $(OBJECTS) $(LIBS)