[llvm-commits] [patch] Use $ORIGIN it the rpath of libraries on non-darwin hosts
Rafael Espindola
espindola at google.com
Sun May 16 20:04:56 PDT 2010
> This going to work on windows? Or am I missing some context in the diff?
I have no idea what rpath looks like on windows, but we already use
$ORIGIN for programs:
ifneq ($(HOST_OS),Darwin)
ifneq ($(DARWIN_MAJVERS),4)
ifdef TOOLNAME
LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib'
ifdef EXAMPLE_TOOL
LD.Flags += $(RPATH) -Wl,$(ExmplDir) $(RDYNAMIC)
else
LD.Flags += $(RPATH) -Wl,$(ToolDir) $(RDYNAMIC)
endif
endif
endif
endif
The patch added it for libraries.
> -eric
>
Cheers,
--
Rafael Ávila de Espíndola
More information about the llvm-commits
mailing list