Charles Davis : libwine: Fix linking with non-Apple GCC.

Alexandre Julliard julliard at winehq.org
Wed Oct 12 14:31:18 CDT 2011


Module: wine
Branch: master
Commit: c857bdd09d0c0c2e40791ac13a5320fa161a498f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c857bdd09d0c0c2e40791ac13a5320fa161a498f

Author: Charles Davis <cdavis at mymail.mines.edu>
Date:   Wed Oct 12 11:49:47 2011 -0600

libwine: Fix linking with non-Apple GCC.

---

 libs/wine/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libs/wine/Makefile.in b/libs/wine/Makefile.in
index 1ef9ff2..ca93d26 100644
--- a/libs/wine/Makefile.in
+++ b/libs/wine/Makefile.in
@@ -128,7 +128,7 @@ 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) -headerpad_max_install_names
+DYLIB_LDFLAGS = -compatibility_version $(SOVERSION) -current_version $(VERSION) -Wl,-headerpad_max_install_names
 
 libwine.$(VERSION).dylib: $(OBJS) $(RELPATH) Makefile.in
 	$(LDSHARED) -install_name $(libdir)/$(DYNAME) $(DYLIB_LDFLAGS) $(OBJS) $(EXTRALIBS) $(LDFLAGS) $(LIBS) -o $@




More information about the wine-cvs mailing list