Opened 15 years ago

Closed 15 years ago

Last modified 6 years ago

#4694 closed defect (duplicate)

OS X: make static is missing zlib

Reported by: SF/dominus Owned by: vinterstum
Priority: normal Component: Port: Mac OS X
Version: Keywords: build
Cc: Game:

Description

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.

Change History (3)

comment:1 by vinterstum, 15 years ago

This is intended; see the discussion at https://sourceforge.net/tracker/?func=detail&atid=418820&aid=2703992&group_id=37116

comment:2 by vinterstum, 15 years ago

Owner: set to vinterstum
Resolution: duplicate
Status: newclosed

comment:3 by digitall, 6 years ago

Component: Port: Mac OS X
Note: See TracTickets for help on using tickets.