[ scummvm-Bugs-2890447 ] OS X: make static is missing zlib

SourceForge.net noreply at sourceforge.net
Sun Nov 1 22:47:00 CET 2009


Bugs item #2890447, was opened at 2009-11-01 22:47
Message generated for change (Tracker Item Submitted) made by dominus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=2890447&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compiler error
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dominik Reichardt (dominus)
Assigned to: Nobody/Anonymous (nobody)
Summary: OS X: make static is missing zlib

Initial Comment:
When on OS X (10.6.1) you make scummvm-static it misses to build the static zlib lib.
in ports.mk you have the lines:
ifdef USE_ZLIB
OSX_ZLIB ?= -lz
endif

If you change this to 

ifdef USE_ZLIB
OSX_ZLIB ?= $(STATICLIBPATH)/lib/libz.a
endif

the static zlib will be compiled into the binary. Otherwise it will link to the dynamic .../lib/libz.1.2.3.dylib
I hope this helps.
Since this is not a real patch and the solution might be different, I thought I'd better make a bug report instead of a patch one.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=2890447&group_id=37116




More information about the Scummvm-tracker mailing list