Mesa (master): egl: Use -dlopen rather than -dl which is non portable
Brian Paul
brianp at kemper.freedesktop.org
Wed Feb 25 14:58:49 UTC 2009
Module: Mesa
Branch: master
Commit: 9c0dea10e91752d5f43ed5ef9eac53248e5a05eb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c0dea10e91752d5f43ed5ef9eac53248e5a05eb
Author: Benjamin Close <Benjamin.Close at clearchain.com>
Date: Tue Feb 24 20:51:12 2009 -0800
egl: Use -dlopen rather than -dl which is non portable
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)
More information about the mesa-commit
mailing list