Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
f377591e
Commit
f377591e
authored
Jan 11, 2013
by
Ken Thomases
Committed by
Alexandre Julliard
Jan 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Use rpath-based install name and library references for libwine on Mac.
parent
b68e95ab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
configure
configure
+2
-1
configure.ac
configure.ac
+2
-1
Makefile.in
libs/wine/Makefile.in
+3
-3
No files found.
configure
View file @
f377591e
...
...
@@ -6657,7 +6657,8 @@ fi
LDDLLFLAGS
=
"-bundle -multiply_defined suppress"
LIBWINE_LDFLAGS
=
"-multiply_defined suppress"
LDSHARED
=
"
\$
(CC) -dynamiclib"
LDRPATH_LOCAL
=
"&& install_name_tool -change @executable_path/
\`\$
(RELPATH)
\$
(bindir)
\$
(libdir)
\`
/libwine.1.dylib @executable_path/
\$
(top_builddir)/libs/wine/libwine.1.dylib
\$
@ ||
\$
(RM)
\$
@"
LDRPATH_INSTALL
=
"-Wl,-rpath,@loader_path/
\`\$
(RELPATH)
\$
(bindir)
\$
(libdir)
\`
"
LDRPATH_LOCAL
=
"-Wl,-rpath,@loader_path/
\$
(top_builddir)/libs/wine"
COREFOUNDATIONLIB
=
"-framework CoreFoundation"
IOKITLIB
=
"-framework IOKit -framework CoreFoundation"
...
...
configure.ac
View file @
f377591e
...
...
@@ -723,7 +723,8 @@ case $host_os in
LDDLLFLAGS="-bundle -multiply_defined suppress"
LIBWINE_LDFLAGS="-multiply_defined suppress"
LDSHARED="\$(CC) -dynamiclib"
LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
dnl declare needed frameworks
AC_SUBST(COREFOUNDATIONLIB,"-framework CoreFoundation")
AC_SUBST(IOKITLIB,"-framework IOKit -framework CoreFoundation")
...
...
libs/wine/Makefile.in
View file @
f377591e
...
...
@@ -128,13 +128,13 @@ 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)
-Wl
,-headerpad_max_install_names
DYLIB_LDFLAGS
=
-compatibility_version
$(SOVERSION)
-current_version
$(VERSION)
libwine.$(VERSION).dylib
:
$(OBJS) $(RELPATH) Makefile.in
$(LDSHARED)
-install_name
$(libdir)
/
$(DYNAME)
$(DYLIB_LDFLAGS)
$(OBJS)
$(EXTRALIBS)
$(LDFLAGS)
$(LIBS)
-o
$@
$(LDSHARED)
-install_name
@rpath
/
$(DYNAME)
$(DYLIB_LDFLAGS)
$(OBJS)
$(EXTRALIBS)
$(LDFLAGS)
$(LIBS)
-o
$@
libwine.$(SOVERSION).dylib
:
libwine.$(VERSION).dylib
cp
-p
libwine.
$(VERSION)
.dylib
$@
&&
install_name_tool
-id
@executable_path/
`
$(RELPATH)
$(bindir)
$(libdir)
`
/
$(DYNAME)
$@
||
$(RM)
$@
$(RM)
$@
&&
$(LN_S)
libwine.
$(VERSION)
.dylib
$@
libwine.dylib
:
libwine.$(SOVERSION).dylib
$(RM)
$@
&&
$(LN_S)
libwine.
$(SOVERSION)
.dylib
$@
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment