diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-14 23:04:14 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-14 23:04:14 +0300 |
commit | 9864ef74b142a0ad92eff84d817262d569211f98 (patch) | |
tree | a7b4dfa8c507f91382304639ab12b72ed8474737 /libpq/libpq/buildfile | |
parent | 63c1753565d7908b41b80058b599cd4ae4631b12 (diff) |
Release version 12.1.0+2v12.1.0+2
Drop copyright notice from source code
Use adhoc value for libpqdll.map prerequisite-specific variable include
Minor cleanups
Diffstat (limited to 'libpq/libpq/buildfile')
-rw-r--r-- | libpq/libpq/buildfile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libpq/libpq/buildfile b/libpq/libpq/buildfile index d77ccf7..bf7f844 100644 --- a/libpq/libpq/buildfile +++ b/libpq/libpq/buildfile @@ -1,6 +1,5 @@ # file : libpq/buildfile -# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd -# license : PostgreSQL Licenes; see accompanying COPYRIGHT file +# license : PostgreSQL Licene; see accompanying COPYRIGHT file import imp_libs = libssl%lib{ssl} import imp_libs += libcrypto%lib{crypto} @@ -19,18 +18,19 @@ lib{pq}: {h }{* -version} \ common/{ c}{* } \ include/{h }{** } \ {def }{libpqdll } \ - {file}{libpqdll.map } \ pq/{file}{pg_service.conf.sample } \ $imp_libs tclass = $c.target.class tsys = $c.target.system +linux = ($tclass == 'linux') bsd = ($tclass == 'bsd') macos = ($tclass == 'macos') windows = ($tclass == 'windows') -lib{pq}: port/c{strlcpy}: include = (!$bsd && !$macos) +lib{pq}: file{libpqdll.map}: include = ($linux || $bsd ? adhoc : false) +lib{pq}: port/c{strlcpy}: include = (!$bsd && !$macos) lib{pq}: pq/{h c}{*win32* } \ port/{h c}{*win32* +getaddrinfo +inet_aton}: include = $windows @@ -49,8 +49,8 @@ h{version}: in{version} $src_root/manifest c.poptions += -DFRONTEND -DUNSAFE_STAT_OK -DSO_MAJOR_VERSION=$abi_major if! $windows - # Note that the upstream package uses -pthread compiler/linker option. It is - # currently unsupported by build2, so we use -D_REENTRANT and -lpthread + # Note that the upstream package uses the -pthread compiler/linker option. + # The option is unsupported by build2 so we pass -D_REENTRANT and -lpthread # preprocessor/linker options instead. We also omit -D_THREAD_SAFE (synonym # for -D_REENTRANT) and Solaris-specific -D_POSIX_PTHREAD_SEMANTICS. # |