[PATCH] Shared library debug .symbols files

Ed Maste emaste at freebsd.org
Fri Dec 14 19:10:52 UTC 2012


On 13 December 2012 17:07, Eric van Gyzen <eric at vangyzen.net> wrote:
>>         @${ECHO} building shared library ${SHLIB_NAME}
>> -       @rm -f ${.TARGET} ${SHLIB_LINK}
>> +       @rm -f ${.SHLIB_NAME} ${SHLIB_LINK}
>
>
> dot-SHLIB_NAME?  I'm not aware of this magic.

No magic, just a typo introduced while transcribing from an isolated
tree.  Thanks for spotting.

>> +${SHLIB_NAME}: ${SHLIB_NAME}.debug ${SHLIB_NAME}.symbols
>> +       ${OBJCOPY} --strip-all --add-gnu-debuglink=${SHLIB_NAME}.symbols\
>> +           ${SHLIB_NAME}.debug ${.TARGET}
>> +
>> +${SHLIB_NAME}.symbols:

Mark Johnston also pointed out I'm missing the ${SHLIB_NAME}.debug
dependency here.


More information about the freebsd-hackers mailing list