libtirpc 1.1.4
[git/cygwin-packages/libtirpc.git] / 0.3.2-no-undefined.patch
1 --- origsrc/libtirpc-0.3.2/configure.ac 2015-10-13 13:06:41.829054900 -0500
2 +++ src/libtirpc-0.3.2/configure.ac 2015-10-13 13:09:15.308044200 -0500
3 @@ -66,19 +66,24 @@ AC_ARG_ENABLE(symvers,
4 [],[enable_symvers=yes])
5 AM_CONDITIONAL(SYMVERS, test "x$enable_symvers" = xyes)
6
7 -AC_CANONICAL_BUILD
8 +AC_CANONICAL_HOST
9 # Check for which host we are on and setup a few things
10 # specifically based on the host
11 -case $build_os in
12 +case $host_os in
13 linux*)
14 # Do something specific for linux
15 LDFLAG_NOUNDEFINED="-Wl,--no-undefined"
16 - AC_SUBST(LDFLAG_NOUNDEFINED)
17 + ;;
18 + cygwin*)
19 + # Do something specific for cygwin
20 + LDFLAG_NOUNDEFINED="-no-undefined"
21 ;;
22 *)
23 #Default Case
24 + LDFLAG_NOUNDEFINED=
25 ;;
26 esac
27 +AC_SUBST(LDFLAG_NOUNDEFINED)
28
29
30 AC_CONFIG_HEADERS([config.h])
This page took 0.038099 seconds and 5 git commands to generate.