egl: libEGL depends on LOCAL_LIBS.
authorChia-I Wu <olv@lunarg.com>
Wed, 12 Jan 2011 10:09:12 +0000 (18:09 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 12 Jan 2011 10:10:15 +0000 (18:10 +0800)
So that libEGL is rebuilt whenever LOCAL_LIBS changes.

src/egl/main/Makefile

index 0eb309c196947df066e48112a24952b7f373d9d0..c710631688cbcadd549beb220315ec73b8d73bf7 100644 (file)
@@ -93,7 +93,7 @@ default: depend library
 # EGL Library
 library: $(TOP)/$(LIB_DIR)/$(EGL_LIB_NAME)
 
-$(TOP)/$(LIB_DIR)/$(EGL_LIB_NAME): $(OBJECTS)
+$(TOP)/$(LIB_DIR)/$(EGL_LIB_NAME): $(OBJECTS) $(LOCAL_LIBS)
        $(MKLIB) -o $(EGL_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS)' \
                -major $(EGL_MAJOR) -minor $(EGL_MINOR) \
                -install $(TOP)/$(LIB_DIR) $(MKLIB_OPTIONS) \