build/libgnuregex: Remove.

It was needed on macOS for a time when BUrl used regexes for parsing.
Now it does not, and so we can remove libshared's RegExp from build
libshared, and thus also libgnuregex.
This commit is contained in:
Augustin Cavalier
2017-12-24 12:27:47 -05:00
parent 0d4fd77ef9
commit ca087b0532
14 changed files with 10 additions and 7343 deletions
-11
View File
@@ -485,15 +485,6 @@ if $(HOST_PLATFORM_BEOS_COMPATIBLE) {
}
}
# Unlike glibc FreeBSD's libc doesn't have built-in regex support.
if $(HOST_PLATFORM) = freebsd {
HOST_LIBROOT += /usr/lib/libgnuregex.so ;
HOST_STATIC_LIBROOT += /usr/lib/libgnuregex.so ;
} else if $(HOST_PLATFORM) = darwin {
HOST_LIBROOT += libgnuregex_build.so ;
HOST_STATIC_LIBROOT += libgnuregex_build.so ;
}
# The BeOS compilers define __INTEL__ respectively __POWERPC__. On the
# build platform we need to make sure, this is also defined.
if $(HOST_CPU) = x86 {
@@ -587,8 +578,6 @@ if $(HOST_PLATFORM) = freebsd {
}
if $(HOST_PLATFORM) = darwin {
HOST_HDRS += [ FDirName $(HAIKU_TOP) src build libgnuregex ] ;
# Mac OS X users may be using macports libraries, in which case the headers
# and the libs are located in /opt/local/.
HOST_HDRS += /opt/local/include ;