Skip to content

Commit

Permalink
Merge pull request #1315 from quickfur/makefile_ln_sf
Browse files Browse the repository at this point in the history
Add -f to ln
  • Loading branch information
andralex committed May 28, 2013
2 parents 5ddf3bc + 37bb171 commit 9293b54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posix.mak
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,10 @@ $(LIB) : $(OBJS) $(ALL_D_FILES) $(DRUNTIME)
dll : $(ROOT)/libphobos2.so

$(ROOT)/libphobos2.so: $(ROOT)/$(SONAME)
ln -s $(notdir $(LIBSO)) $@
ln -sf $(notdir $(LIBSO)) $@

$(ROOT)/$(SONAME): $(LIBSO)
ln -s $(notdir $(LIBSO)) $@
ln -sf $(notdir $(LIBSO)) $@

$(LIBSO): $(OBJS) $(ALL_D_FILES) $(DRUNTIME)
$(DMD) $(DFLAGS) -shared -debuglib= -defaultlib= -of$@ -L-soname=$(SONAME) $(DRUNTIMESO) $(D_FILES) $(OBJS)
Expand Down

0 comments on commit 9293b54

Please sign in to comment.