$(MAKE1) DESTDIR=$(STAGING_DIR) -C $(NCURSES_DIR) \
                libs panel menu form headers
 
-$(STAGING_DIR)/usr/lib/libncurses.a: $(NCURSES_DIR)/lib/libncurses.so.$(NCURSES_VER)
+$(STAGING_DIR)/lib/libncurses.so.$(NCURSES_VER): $(NCURSES_DIR)/lib/libncurses.so.$(NCURSES_VER)
        $(MAKE1) \
            prefix=$(STAGING_DIR)/usr/ \
            exec_prefix=$(STAGING_DIR) \
        chmod a-x $(NCURSES_DIR)/lib/libncurses.so*
        touch -c $@
 
-$(TARGET_DIR)/lib/libncurses.so.$(NCURSES_VER): $(STAGING_DIR)/usr/lib/libncurses.a
+$(TARGET_DIR)/lib/libncurses.so.$(NCURSES_VER): $(STAGING_DIR)/lib/libncurses.so.$(NCURSES_VER)
        cp -dpf $(NCURSES_DIR)/lib/libncurses.so* $(TARGET_DIR)/lib/
        -cp -dpf $(STAGING_DIR)/usr/lib/terminfo $(TARGET_DIR)/usr/lib/
        mkdir -p $(TARGET_DIR)/usr/share/terminfo/x