components/apr-1_5/patches/apr-config.patch
changeset 6000 3b823561a81d
equal deleted inserted replaced
5999:3b8cbeec276f 6000:3b823561a81d
       
     1 Patch origin: in-house
       
     2 Patch status: Solaris-specific; not suitable for upstream
       
     3 
       
     4 APR is installed in nonstandard path. -R is required.
       
     5 
       
     6 --- apr-config.in
       
     7 +++ apr-config.in
       
     8 @@ -183,7 +183,7 @@
       
     9      --link-ld)
       
    10      if test "$location" = "installed"; then
       
    11          ### avoid using -L if libdir is a "standard" location like /usr/lib
       
    12 -        flags="$flags -L$libdir -l${APR_LIBNAME}"
       
    13 +        flags="$flags -L$libdir -R$libdir -l${APR_LIBNAME}"
       
    14      else
       
    15          ### this surely can't work since the library is in .libs?
       
    16          flags="$flags -L$APR_BUILD_DIR -l${APR_LIBNAME}"