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

llvm-svn: 65552
This commit is contained in:
Chris Lattner 2009-02-26 18:37:59 +00:00
parent fe5245613b
commit 63196eeef8
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: *;
};