Fixed build.

This commit is contained in:
Barrett 2013-07-29 17:16:02 +02:00
parent 830f1216f5
commit 45d911a7c2

View File

@ -94,7 +94,12 @@ rule SharedLibrary
MakeLocate $(lib) : $(LOCATE_MAIN_TARGET) ;
local linkFlags ;
if $(OSPLAT) = X86 {
linkFlags = -nostart -Xlinker -soname=\"$(lib)\" -Xlinker --no-undefined ;
if $(IS_GCC4_PLATFORM) = 1 {
linkFlags = -shared ;
} else {
linkFlags = -nostart ;
}
linkFlags += -Xlinker -soname=\"$(lib)\" -Xlinker --no-undefined ;
} else {
linkFlags = -xms ;
}
@ -368,9 +373,9 @@ rule CreateSVNRevisionFile file
{
# CreateSVNRevisionFile <file>
local svnEntries = <svn>entries ;
SEARCH on $(svnEntries) = [ FDirName $(TOP) .svn ] ;
Depends $(file) : $(svnEntries) ;
#local svnEntries = <git>entries ;
#SEARCH on $(svnEntries) = [ FDirName $(TOP) .git ] ;
#Depends $(file) : $(svnEntries) ;
}
actions CreateSVNRevisionFile