Merge branch '1011-use-proper-linker-config-on-hp-ux' into 'master'

Resolve "Use proper linker (config) on HP-UX"

Closes #1011

See merge request isc-projects/bind9!1940
This commit is contained in:
Mark Andrews
2019-05-29 20:30:00 -04:00
2 changed files with 11 additions and 0 deletions

6
configure vendored
View File

@@ -20609,6 +20609,12 @@ fi
SO_LDFLAGS="-G -z text"
SO_LD="ld"
;; #(
ia64-hp-hpux*) :
SO_CFLAGS="+z"
SO_LDFLAGS="-b"
SO_LD="${CC}"
;; #(
*) :
SO_CFLAGS="-fPIC"

View File

@@ -2604,6 +2604,11 @@ AS_IF([test "$with_dlopen" = "yes"],
SO_LDFLAGS="-G -z text"
SO_LD="ld"
],
[ia64-hp-hpux*],[
SO_CFLAGS="+z"
SO_LDFLAGS="-b"
SO_LD="${CC}"
],
[
SO_CFLAGS="-fPIC"
])