Blindly commit previously discovered and corrected linking problem.

Wed, 12 Sep 2012 18:43:24 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 12 Sep 2012 18:43:24 +0200
changeset 672
fcc7a5543835
parent 671
f82939c12e5f
child 673
004b21be0b4c

Blindly commit previously discovered and corrected linking problem.

postfix/postfix.spec file | annotate | diff | comparison | revisions
     1.1 --- a/postfix/postfix.spec	Wed Sep 12 18:42:10 2012 +0200
     1.2 +++ b/postfix/postfix.spec	Wed Sep 12 18:43:24 2012 +0200
     1.3 @@ -177,6 +177,8 @@
     1.4          makedefs
     1.5  
     1.6      #   configure Postfix (regular part)
     1.7 +    rflags=`echo $LD_LIBRARY_PATH | %{l_shtool} subst -e 's;\(.\);-R\1;'`
     1.8 +    rflags=`echo $rflags | %{l_shtool} subst -e 's/:/ -R/g'`
     1.9      unset LD_LIBRARY_PATH || true
    1.10      CCARGS=""
    1.11      CCARGS="$CCARGS %{l_cflags -O}"
    1.12 @@ -188,7 +190,7 @@
    1.13      CCARGS="$CCARGS -DDEF_QUEUE_DIR=\\\"%{l_prefix}/var/postfix\\\""
    1.14      CCARGS="$CCARGS -DDEF_DATA_DIR=\\\"%{l_prefix}/var/postfix/data\\\""
    1.15      AUXLIBS=""
    1.16 -    AUXLIBS="$AUXLIBS %{l_ldflags}"
    1.17 +    AUXLIBS="$AUXLIBS $rflags %{l_ldflags}"
    1.18      CCARGS="$CCARGS -DHAS_DB"
    1.19      AUXLIBS="$AUXLIBS -ldb"
    1.20      CCARGS="$CCARGS -DHAS_PCRE"

mercurial