egl: Use -dlopen rather than -dl which is non portable
authorBenjamin Close <Benjamin.Close@clearchain.com>
Wed, 25 Feb 2009 04:51:12 +0000 (20:51 -0800)
committerBrian Paul <brianp@vmware.com>
Wed, 25 Feb 2009 14:54:02 +0000 (07:54 -0700)
Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
src/egl/main/Makefile

index 89b4a200bcd9750c99763cb78e66964646f0aad9..a543f675a5e17e8d78738a038b5cc8c3e0708340 100644 (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)