Revert "build/libgnuregex: Remove."
This reverts commit ca087b0532.
Mac OS X requires libgnuregex for Keymap
This commit is contained in:
@@ -484,6 +484,15 @@ 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 {
|
||||
@@ -567,6 +576,8 @@ 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 ;
|
||||
|
||||
Reference in New Issue
Block a user