git: libarchive: Disable iconv the statically-built version

John Marino marino at crater.dragonflybsd.org
Mon Sep 30 14:20:15 PDT 2013


commit 407e57a61df54ab421966171d45bb302d91070eb
Author: John Marino <draco at marino.st>
Date:   Mon Sep 30 23:14:14 2013 +0200

    libarchive: Disable iconv the statically-built version
    
    The iconv in base uses dlopen(3) which only works on dynamically-built
    binaries.  Use the new SHARED_CFLAGS variable to set ICONV conditionally
    for dynamic libraries only.  This fixes the "Service Unavailable"
    message that pkg started emitting after the locales/iconv update.

Summary of changes:
 lib/libarchive/Makefile |  3 +++
 lib/libarchive/config.h | 10 ++++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/407e57a61df54ab421966171d45bb302d91070eb


-- 
DragonFly BSD source repository



More information about the Commits mailing list