diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-30 11:40:23 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-30 11:47:08 -0600 |
commit | d0de5a2dafb5143f01a3c6dc367c85aa0800466b (patch) | |
tree | 4b9d8c34842a64d56d9e601fe80551dcdc7fe199 /src | |
parent | 1529a2c983f70ed7ff661ae6e8995cdfbca6d9cf (diff) |
link libEGL with Xlib
Diffstat (limited to 'src')
-rw-r--r-- | src/egl/main/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile index 5b341a19be..96742bb4bc 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) |