libwine: Also set the current library version for MacOS.
This commit is contained in:
parent
78bd1948a6
commit
946b84d96c
|
@ -17082,7 +17082,7 @@ echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
|
|||
then
|
||||
LIBEXT="dylib"
|
||||
LDDLLFLAGS="-bundle -multiply_defined suppress"
|
||||
LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
|
||||
LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
|
||||
STRIP="$STRIP -u -r"
|
||||
COREFOUNDATIONLIB="-framework CoreFoundation"
|
||||
|
||||
|
|
|
@ -1151,7 +1151,7 @@ case $host_os in
|
|||
then
|
||||
LIBEXT="dylib"
|
||||
LDDLLFLAGS="-bundle -multiply_defined suppress"
|
||||
LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
|
||||
LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
|
||||
STRIP="$STRIP -u -r"
|
||||
dnl declare needed frameworks
|
||||
AC_SUBST(COREFOUNDATIONLIB,"-framework CoreFoundation")
|
||||
|
|
|
@ -131,8 +131,10 @@ libwine.a: wine.def
|
|||
libwine.dll: $(OBJS) wine.def Makefile.in
|
||||
$(DLLWRAP) --def $(SRCDIR)/wine.def -o $@ $(OBJS) $(EXTRALIBS)
|
||||
|
||||
DYLIB_LDFLAGS = -compatibility_version $(SOVERSION) -current_version $(VERSION)
|
||||
|
||||
libwine.$(VERSION).dylib: $(OBJS) $(RELPATH) Makefile.in
|
||||
$(LDSHARED) $(OBJS) $(EXTRALIBS) $(LDFLAGS) $(LIBS) -o $@
|
||||
$(LDSHARED) $(DYLIB_LDFLAGS) $(OBJS) $(EXTRALIBS) $(LDFLAGS) $(LIBS) -o $@
|
||||
|
||||
libwine.$(SOVERSION).dylib: libwine.$(VERSION).dylib
|
||||
$(RM) $@ && $(LN_S) libwine.$(VERSION).dylib $@
|
||||
|
|
Loading…
Reference in New Issue