[llvm-commits] [llvm] r113579 - /llvm/trunk/Makefile.rules
NAKAMURA Takumi
geek4civic at gmail.com
Thu Sep 9 23:27:02 PDT 2010
Author: chapuni
Date: Fri Sep 10 01:27:02 2010
New Revision: 113579
URL: http://llvm.org/viewvc/llvm-project?rev=113579&view=rev
Log:
Makefile.rules: LOADABLE_MODULE/Win32: "all" components may be linked
only when ENABLE_SHARED=1.
Loadable module for Win32 requires all symbols resolved for linking.
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=113579&r1=113578&r2=113579&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Fri Sep 10 01:27:02 2010
@@ -894,10 +894,13 @@
LLVMLibsPaths := $(addprefix $(LLVMLibDir)/,$(LLVMUsedLibs))
endif
-# Win32.DLL may refer to other components.
-ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
+# Loadable module for Win32 requires all symbols resolved for linking.
+# Then all symbols in LLVM.dll will be available.
+ifeq ($(ENABLE_SHARED),1)
ifdef LOADABLE_MODULE
- LINK_COMPONENTS := all
+ ifneq (,$(filter $(HOST_OS),Cygwin MingW))
+ LINK_COMPONENTS += all
+ endif
endif
endif
More information about the llvm-commits
mailing list