[Wine] 1.3.30 build error on Mac OS X with non-Apple GCC

ischou wineforum-user at winehq.org
Wed Oct 12 09:59:30 CDT 2011

There is a linker argument that only Apple's GCC recognizes in the latest build.  In libs/wine/Makefile.in, there is a variable that reads:

DYLIB_LDFLAGS = -compatibility_version $(SOVERSION) -current_version $(VERSION) -headerpad_max_install_names

in order for non-Apple GCC to successfully build, it needs to pass-through the argument to the linker.  The line should read:

DYLIB_LDFLAGS = -compatibility_version $(SOVERSION) -current_version $(VERSION) -Wl,-headerpad_max_install_names

More information about the wine-users mailing list