mirror of https://github.com/getdnsapi/getdns.git
Solaris port, add -D flag to get strdup.
This commit is contained in:
parent
e80082aeaf
commit
031f26801a
|
@ -3221,6 +3221,8 @@ case "$host_os" in
|
|||
# pick up strdup() declaration
|
||||
# in <string.h>
|
||||
;;
|
||||
solaris* ) CFLAGS="$CFLAGS -D__EXTENSIONS__" # for strdup() from <string.h>
|
||||
;;
|
||||
esac
|
||||
|
||||
# always use ./libtool unless override from commandline (libtool=mylibtool)
|
||||
|
|
|
@ -21,7 +21,9 @@ case "$host_os" in
|
|||
linux* ) CFLAGS="$CFLAGS -D_XOPEN_SOURCE=501" # unfortunate, but needed to
|
||||
# pick up strdup() declaration
|
||||
# in <string.h>
|
||||
;;
|
||||
;;
|
||||
solaris* ) CFLAGS="$CFLAGS -D__EXTENSIONS__" # for strdup() from <string.h>
|
||||
;;
|
||||
esac
|
||||
|
||||
# always use ./libtool unless override from commandline (libtool=mylibtool)
|
||||
|
|
Loading…
Reference in New Issue