Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libpkg: rework internal ABI handling, fix bugs #2376

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion libpkg/elfhints.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
*/

#include <bsd_compat.h>
#include "private/pkg_abi.h"
#include <sys/mman.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_ENDIAN_H
Expand Down Expand Up @@ -315,7 +316,7 @@ int shlib_list_from_rpath(const char *rpath_str, const char *dirpath)
int
shlib_list_from_elf_hints(const char *hintsfile)
{
if (ctx.oi->ostype == OS_FREEBSD || ctx.oi->ostype == OS_DRAGONFLY)
if (ctx.abi.os == PKG_OS_FREEBSD || ctx.abi.os == PKG_OS_DRAGONFLY)
read_elf_hints(hintsfile, 1);

return (scan_dirs_for_shlibs(&shlibs, ndirs, dirs, true));
Expand Down
Loading
Loading