configure: Setting rpath should no longer be needed for dlls.
This commit is contained in:
parent
106e65e0f8
commit
4e8cb6170f
|
@ -745,7 +745,6 @@ IOKITLIB
|
|||
LDEXECFLAGS
|
||||
COREAUDIO
|
||||
LDEXERPATH
|
||||
LDDLLRPATH
|
||||
CROSSTEST
|
||||
CROSSCC
|
||||
CROSSWINDRES
|
||||
|
@ -15894,8 +15893,6 @@ echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
|
|||
then
|
||||
LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
|
||||
|
||||
LDDLLRPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
|
||||
|
||||
fi
|
||||
|
||||
case $host_cpu in
|
||||
|
@ -25028,7 +25025,6 @@ IOKITLIB!$IOKITLIB$ac_delim
|
|||
LDEXECFLAGS!$LDEXECFLAGS$ac_delim
|
||||
COREAUDIO!$COREAUDIO$ac_delim
|
||||
LDEXERPATH!$LDEXERPATH$ac_delim
|
||||
LDDLLRPATH!$LDDLLRPATH$ac_delim
|
||||
CROSSTEST!$CROSSTEST$ac_delim
|
||||
CROSSCC!$CROSSCC$ac_delim
|
||||
CROSSWINDRES!$CROSSWINDRES$ac_delim
|
||||
|
@ -25044,7 +25040,7 @@ LIBOBJS!$LIBOBJS$ac_delim
|
|||
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
||||
_ACEOF
|
||||
|
||||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
|
||||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
|
||||
break
|
||||
elif $ac_last_try; then
|
||||
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
||||
|
|
|
@ -1122,7 +1122,6 @@ case $host_os in
|
|||
if test "$ac_cv_ld_rpath" = "yes"
|
||||
then
|
||||
AC_SUBST(LDEXERPATH,["-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"])
|
||||
AC_SUBST(LDDLLRPATH,["-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"])
|
||||
fi
|
||||
|
||||
case $host_cpu in
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
DLLFLAGS = @DLLFLAGS@
|
||||
DLLEXT = @DLLEXT@
|
||||
IMPLIBEXT = @IMPLIBEXT@
|
||||
LDRPATH = @LDDLLRPATH@
|
||||
DEFS = -D__WINESRC__ $(EXTRADEFS)
|
||||
BASEMODULE = $(MODULE:%.dll=%)
|
||||
MAINSPEC = $(BASEMODULE).spec
|
||||
|
@ -33,7 +32,7 @@ all: $(MODULE)$(DLLEXT) $(SUBDIRS)
|
|||
# Rules for .so files
|
||||
|
||||
$(MODULE).so: $(MAINSPEC) $(ALL_OBJS) Makefile.in
|
||||
$(WINEGCC) -B$(TOOLSDIR)/tools/winebuild -shared $(SRCDIR)/$(MAINSPEC) $(ALL_OBJS) $(SUBSYSTEM:%=-Wb,--subsystem,%) $(BASEADDRESS:%=-Wl,--image-base,%) $(LDRPATH) -o $@ $(ALL_IMPORTS:%=-l%) $(DELAYIMPORTS:%=-Wb,-d%) $(ALL_LIBS)
|
||||
$(WINEGCC) -B$(TOOLSDIR)/tools/winebuild -shared $(SRCDIR)/$(MAINSPEC) $(ALL_OBJS) $(SUBSYSTEM:%=-Wb,--subsystem,%) $(BASEADDRESS:%=-Wl,--image-base,%) -o $@ $(ALL_IMPORTS:%=-l%) $(DELAYIMPORTS:%=-Wb,-d%) $(ALL_LIBS)
|
||||
|
||||
# Rules for .dll files
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#
|
||||
|
||||
DLLFLAGS = @DLLFLAGS@
|
||||
LDRPATH = @LDDLLRPATH@
|
||||
DEFS = $(EXTRADEFS)
|
||||
ALL_IMPORTS = $(DELAYIMPORTS) $(IMPORTS)
|
||||
ALL_LIBS = $(ALL_IMPORTS:%=-l%) $(EXTRALIBS) $(LIBPORT) $(LDFLAGS) $(LIBS)
|
||||
|
@ -25,7 +24,7 @@ all: $(MODULE)$(DLLEXT) $(BASEMODULE)$(EXEEXT)
|
|||
# Rules for .so main module
|
||||
|
||||
$(MODULE).so: $(OBJS) $(RC_SRCS:.rc=.res) Makefile.in
|
||||
$(WINEGCC) -B$(TOOLSDIR)/tools/winebuild $(APPMODE) $(OBJS) $(RC_SRCS:.rc=.res) -o $@ $(LDRPATH) $(ALL_LIBS) $(DELAYIMPORTS:%=-Wb,-d%)
|
||||
$(WINEGCC) -B$(TOOLSDIR)/tools/winebuild $(APPMODE) $(OBJS) $(RC_SRCS:.rc=.res) -o $@ $(ALL_LIBS) $(DELAYIMPORTS:%=-Wb,-d%)
|
||||
|
||||
$(BASEMODULE): $(WINEWRAPPER)
|
||||
$(RM) $@ && $(LN_S) $(WINEWRAPPER) $@
|
||||
|
|
Loading…
Reference in New Issue