OS X: make static is missing zlib
|Reported by:||SF/dominus||Owned by:||vinterstum|
|Priority:||normal||Component:||Port: Mac OS X|
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.
Ticket imported from: #2890447. Ticket imported from: bugs/4694.