Fixed build.
This commit is contained in:
parent
830f1216f5
commit
45d911a7c2
|
@ -94,7 +94,12 @@ rule SharedLibrary
|
||||||
MakeLocate $(lib) : $(LOCATE_MAIN_TARGET) ;
|
MakeLocate $(lib) : $(LOCATE_MAIN_TARGET) ;
|
||||||
local linkFlags ;
|
local linkFlags ;
|
||||||
if $(OSPLAT) = X86 {
|
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 {
|
} else {
|
||||||
linkFlags = -xms ;
|
linkFlags = -xms ;
|
||||||
}
|
}
|
||||||
|
@ -368,9 +373,9 @@ rule CreateSVNRevisionFile file
|
||||||
{
|
{
|
||||||
# CreateSVNRevisionFile <file>
|
# CreateSVNRevisionFile <file>
|
||||||
|
|
||||||
local svnEntries = <svn>entries ;
|
#local svnEntries = <git>entries ;
|
||||||
SEARCH on $(svnEntries) = [ FDirName $(TOP) .svn ] ;
|
#SEARCH on $(svnEntries) = [ FDirName $(TOP) .git ] ;
|
||||||
Depends $(file) : $(svnEntries) ;
|
#Depends $(file) : $(svnEntries) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
actions CreateSVNRevisionFile
|
actions CreateSVNRevisionFile
|
||||||
|
|
Ŝarĝante…
Reference in New Issue