summaryrefslogtreecommitdiff
path: root/src/egl/main
diff options
context:
space:
mode:
authorBenjamin Close <Benjamin.Close@clearchain.com>2009-02-24 20:51:12 -0800
committerBrian Paul <brianp@vmware.com>2009-02-25 07:54:02 -0700
commit9c0dea10e91752d5f43ed5ef9eac53248e5a05eb (patch)
tree1324a409d58049abeeff8b62d6e5d1b38e5c0f6a /src/egl/main
parent161307f17889aed10a81935dd38f6ceeb2097109 (diff)
egl: Use -dlopen rather than -dl which is non portable
Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
Diffstat (limited to 'src/egl/main')
-rw-r--r--src/egl/main/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile
index 89b4a200bc..a543f675a5 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)