Ticket #983: doctools.diff

File doctools.diff, 1.2 KB (added by engima, 2 years ago)

Linux xsltproc & libxslt build patches

  • src/tools/docbook/libxslt/Jamfile

     
    6262; 
    6363 
    6464LinkAgainst <build>xsltproc 
    65         : <build>libxslt.a <build>libxml2.a net z ; 
     65        : <build>libxslt.a <build>libxml2.a net z m ; 
  • src/tools/docbook/libxml2/Jamfile

     
    33SetSubDirSupportedPlatformsBeOSCompatible ; 
    44 
    55# defines 
    6 local defines = [ FDefines HAVE_CONFIG_H=1 HAVE_BEOS_THREADS _REENTRANT ] ; 
     6if $(HOST_PLATFORM) in $(HAIKU_BEOS_COMPATIBLE_PLATFORMS) { 
     7        local defines = [ FDefines HAVE_CONFIG_H=1 HAVE_BEOS_THREADS _REENTRANT ] ; 
     8} else { 
     9        # Assumes non-BeOS host platforms have pthread support 
     10        local defines = [ FDefines HAVE_CONFIG_H=1 HAVE_PTHREAD_H _REENTRANT ] ; 
     11} 
    712 
    813SubDirCcFlags $(defines) ; 
    914SubDirC++Flags $(defines) ; 
     
    6267; 
    6368 
    6469LinkAgainst <build>xmllint 
    65         : <build>libxml2.a net z ; 
    66  No newline at end of file 
     70        : <build>libxml2.a net z ;