git: libmagic: link against libz

Franco Fichtner franco at crater.dragonflybsd.org
Mon Jun 16 06:22:04 PDT 2014


commit e809f39bcc90ab958b1d184ab5f125bbdff3da9e
Author: Franco Fichtner <franco at lastsummer.de>
Date:   Mon Jun 16 15:16:08 2014 +0200

    libmagic: link against libz
    
    Linking a program against the library without explicitly
    stating `-lz' produced this output:
    
        /usr/lib/libmagic.so: undefined reference to `inflate'
        /usr/lib/libmagic.so: undefined reference to `inflateInit2_'
        /usr/lib/libmagic.so: undefined reference to `inflateEnd'

Summary of changes:
 lib/libmagic/Makefile | 3 +++
 1 file changed, 3 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e809f39bcc90ab958b1d184ab5f125bbdff3da9e


-- 
DragonFly BSD source repository



More information about the Commits mailing list