version 1.350, 2014/04/09 16:29:08 |
version 1.351, 2014/04/09 19:23:09 |
Line 622 ${_LIB.so.full}: ${SOLIB} ${DPADD} ${DPL |
|
Line 622 ${_LIB.so.full}: ${SOLIB} ${DPADD} ${DPL |
|
${_LDFLAGS.${_LIB}} -o ${.TARGET} ${_LIBLDOPTS} \ |
${_LDFLAGS.${_LIB}} -o ${.TARGET} ${_LIBLDOPTS} \ |
-Wl,--whole-archive ${SOLIB} \ |
-Wl,--whole-archive ${SOLIB} \ |
-Wl,--no-whole-archive ${_LDADD.${_LIB}} |
-Wl,--no-whole-archive ${_LDADD.${_LIB}} |
|
.if !defined(_LIB.so.debug) |
${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET} |
${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET} |
|
.endif |
# We don't use INSTALL_SYMLINK here because this is just |
# We don't use INSTALL_SYMLINK here because this is just |
# happening inside the build directory/objdir. XXX Why does |
# happening inside the build directory/objdir. XXX Why does |
# this spend so much effort on libraries that aren't live??? XXX |
# this spend so much effort on libraries that aren't live??? XXX |
Line 641 ${_LIB.so.full}: ${SOLIB} ${DPADD} ${DPL |
|
Line 643 ${_LIB.so.full}: ${SOLIB} ${DPADD} ${DPL |
|
${_LIB.so.debug}: ${_LIB.so.full} |
${_LIB.so.debug}: ${_LIB.so.full} |
${_MKTARGET_CREATE} |
${_MKTARGET_CREATE} |
( ${OBJCOPY} --only-keep-debug ${_LIB.so.full} ${_LIB.so.debug} \ |
( ${OBJCOPY} --only-keep-debug ${_LIB.so.full} ${_LIB.so.debug} \ |
&& ${OBJCOPY} --strip-debug -p -R .gnu_debuglink \ |
&& ${OBJCOPY} ${OBJCOPYLIBFLAGS} --strip-debug -p -R .gnu_debuglink \ |
--add-gnu-debuglink=${_LIB.so.debug} ${_LIB.so.full} \ |
--add-gnu-debuglink=${_LIB.so.debug} ${_LIB.so.full} \ |
) || (rm -f ${.TARGET}; false) |
) || (rm -f ${.TARGET}; false) |
.endif |
.endif |