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

Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
This commit is contained in:
Benjamin Close
2009-02-24 20:51:12 -08:00
committed by Brian Paul
parent 161307f178
commit 9c0dea10e9
+1 -1
View File
@@ -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)