Make sure ln command does not break if link exist
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Thu, 22 Jan 2009 07:51:28 +0000 (07:51 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Thu, 22 Jan 2009 07:51:28 +0000 (07:51 -0000)
package/sdl/sdl.mk

index 0ab02100bb98818856fbabeb47daab2c7ed90fe8..2cdead2cd230efd19ea188e81528b15a082c88c0 100644 (file)
@@ -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)