/
balmaster
/
postgres
Обзор
Документация
Войти
/
balmaster
/
postgres
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/template/darwin
30 строк
886 B
Andres Freund
Move darwin sysroot determination into separate file
02 сен 2022, 02:54
02 сен 2022, 02:54
0551912
Код
Авторство
О чём код?
# src/template/darwin # Note: Darwin is the original code name for macOS, also known as OS X. # We still use "darwin" as the port name, partly because config.guess does. # Select where system include files should be sought PG_SYSROOT=`${srcdir}/src/tools/darwin_sysroot $PG_SYSROOT` if test -d "$PG_SYSROOT" ; then CPPFLAGS="-isysroot $PG_SYSROOT $CPPFLAGS" LDFLAGS="-isysroot $PG_SYSROOT $LDFLAGS" fi # Extra CFLAGS for code that will go into a shared library CFLAGS_SL="" # Select appropriate semaphore support. Darwin 6.0 (macOS 10.2) and up # support System V semaphores; before that we have to use named POSIX # semaphores, which are less good for our purposes because they eat a # file descriptor per backend per max_connection slot. case $host_os in darwin[015].*) USE_NAMED_POSIX_SEMAPHORES=1 ;; *) USE_SYSV_SEMAPHORES=1 ;; esac DLSUFFIX=".dylib"