Search for the export map in a place that it can be found.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65552 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-02-26 18:37:59 +00:00
parent 6b37dcdedf
commit 065d7a61e2
2 changed files with 5 additions and 1 deletions

View File

@ -1079,7 +1079,7 @@ LD.Flags += -Wl,-exported_symbol -Wl,_main
endif
ifeq ($(OS), $(filter $(OS), Linux NetBSD FreeBSD))
LD.Flags += -Wl,--version-script=Driver.map
LD.Flags += -Wl,--version-script=$(LLVM_SRC_ROOT)/ExportMap.map
endif
endif

4
autoconf/ExportMap.map Normal file
View File

@ -0,0 +1,4 @@
{
global: main;
local: *;
};