Skip to content
Snippets Groups Projects
  • Moritz Angermann's avatar
    540a317a
    Android doesn’t have telldir/seekdir in bionic · 540a317a
    Moritz Angermann authored
    The isse here is that while we try to use `AC_CHECK_FUNCS`, this will generate test code
    that tries to link an object and check for linking errors.  However  GNU gold at least version
    (binutils-2.25-0666073 2.25.51.20141117) 1.11, considers seekdir/telldir as part of the
    default libs. Thus we would actually want to pass `-nodefaultlibs` to the linker. Doing so,
    would result in erros due to not finding `-ldl`.
    
    Fixes #91
    540a317a
    History
    Android doesn’t have telldir/seekdir in bionic
    Moritz Angermann authored
    The isse here is that while we try to use `AC_CHECK_FUNCS`, this will generate test code
    that tries to link an object and check for linking errors.  However  GNU gold at least version
    (binutils-2.25-0666073 2.25.51.20141117) 1.11, considers seekdir/telldir as part of the
    default libs. Thus we would actually want to pass `-nodefaultlibs` to the linker. Doing so,
    would result in erros due to not finding `-ldl`.
    
    Fixes #91
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
configure.ac 7.59 KiB