From: Ulf Samuelsson Date: Thu, 22 Jan 2009 07:51:28 +0000 (-0000) Subject: Make sure ln command does not break if link exist X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0496551eac22bdef4a5fe1e49811d59e561880b0;p=buildroot.git Make sure ln command does not break if link exist --- diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk index 0ab02100bb..2cdead2cd2 100644 --- a/package/sdl/sdl.mk +++ b/package/sdl/sdl.mk @@ -75,7 +75,7 @@ $(SDL_DIR)/.configured: $(SDL_DIR)/.unpacked ifeq ($(BR2_PACKAGE_SDL_DIRECTFB),y) $(SDL_DIRECTFB_TARGET): mkdir -p $(STAGING_DIR)/include - ln -s ../usr/include/directfb $(SDL_DIRECTFB_TARGET) + ln -s -f ../usr/include/directfb $(SDL_DIRECTFB_TARGET) endif $(SDL_DIR)/.compiled: $(SDL_DIR)/.configured $(SDL_DIRECTFB_TARGET)