While performing 'make' takes into account set
directories of ./configure switches, 'make bundle' does
not appear to and will cause failed compilations until
the MAKEFILE is modified by hand to resolve the issue.
Particular guilty code:
OSXOPT=/opt/local/
# Special target to create a static linked binary for
Mac OS X.
# We use -force_cpusubtype_ALL to ensure the binary
runs on every
# PowerPC machine.
scummvm-static: $(OBJS)
$(CXX) $(LDFLAGS) -force_cpusubtype_ALL -o
scummvm-static $(OBJS) \
`sdl-config --static-libs` \
-framework CoreMIDI \
$(OSXOPT)/lib/libmad.a \
$(OSXOPT)/lib/libvorbisfile.a \
$(OSXOPT)/lib/libvorbis.a \
$(OSXOPT)/lib/libogg.a \
$(OSXOPT)/lib/libmpeg2.a \
$(OSXOPT)/lib/libflac.a \
-lSystemStubs \
-lz
perhaps it could be modfiied to use the LIBS defined
after running ./configure and specifying lib locations
using with-lib-prefix= ?
Ticket imported from: #1503965. Ticket imported from: feature-requests/313.
The "make bundle" target is an hack, and intentionally so. I don't consider this a bug, but rather a feature request for a more stable "bundle" target. Moving to the appropriate tracker.