diff options
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -601,12 +601,12 @@ $(addprefix $(slibdir)/,$(filter-out $(versioned),$(install-lib.so))): \ $(slibdir)/%.so: $(objpfx)%.so; $(do-install-program) define make-link -cd $(@D); \ +here=`pwd`; cd $(@D); \ rm -f $(@F).new; \ if test '$(@D)' = '$(<D)'; then \ $(LN_S) $(<F) $(@F).new; \ else \ - $(SHELL) $(top_absdir)/rellns-sh $< $(@F).new; \ + $(SHELL) $$here/$(..)rellns-sh $< $(@F).new; \ fi; \ mv -f $(@F).new $(@F) endef |