[LLVMdev] LLVM2.8rc2 on MinGW 4.5.1 with --enable-shared
Kevin Kelley
kevin at kelleysoft.com
Wed Sep 29 10:24:09 PDT 2010
On 9/29/2010 10:53 AM, NAKAMURA Takumi wrote:
>
> A trivial patch;
Beautiful! That worked perfectly for me. Thanks much.
--kevin
> --- a/Makefile.rules
> +++ b/Makefile.rules
> @@ -942,6 +942,11 @@ ifdef EXPORTED_SYMBOL_FILE
> # First, set up the native export file, which may differ from the source
> # export file.
>
> +# The option --version-script is not effective on GNU ld win32.
> +ifneq (,$(filter $(HOST_OS),Cygwin MingW))
> + HAVE_LINK_VERSION_SCRIPT := 0
> +endif
> +
> ifeq ($(HOST_OS),Darwin)
> # Darwin convention prefixes symbols with underscores.
> NativeExportsFile := $(ObjDir)/$(notdir $(EXPORTED_SYMBOL_FILE)).sed
>
>
> ...Takumi
>
More information about the llvm-dev
mailing list