[PATCH] egl: Use -dlopen rather than -dl which is non portable

Benjamin Close Benjamin.Close at clearchain.com
Tue Feb 24 20:51:12 PST 2009


Signed-off-by: Benjamin Close <Benjamin.Close at clearchain.com>
---
 src/egl/main/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile
index 89b4a20..a543f67 100644
--- a/src/egl/main/Makefile
+++ b/src/egl/main/Makefile
@@ -63,7 +63,7 @@ library: $(TOP)/$(LIB_DIR)/libEGL.so
 $(TOP)/$(LIB_DIR)/libEGL.so: $(OBJECTS)
 	$(MKLIB) -o EGL -linker '$(CC)' -ldflags '$(LDFLAGS)' \
 		-major 1 -minor 0 \
-		-install $(TOP)/$(LIB_DIR) -ldl $(OBJECTS) $(LIBS)
+		-install $(TOP)/$(LIB_DIR) -dlopen $(OBJECTS) $(LIBS)
 
 install:
 	$(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)
-- 
1.6.0.2




More information about the xorg mailing list