Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Attempt to fix idevicescreenshot build
Browse files Browse the repository at this point in the history
  • Loading branch information
qmfrederik committed Feb 22, 2021
1 parent 6f6753e commit b01909e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ if test "x$ac_cv_have_endian_h" = "xno"; then
fi
fi

# idevicescreenshot uses floor
AC_CHECK_LIB([m],[floor])

# Check for operating system
AC_MSG_CHECKING([for platform-specific build settings])
case ${host_os} in
Expand Down
2 changes: 1 addition & 1 deletion tools/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ideviceimagemounter_LDADD = $(top_builddir)/src/libimobiledevice-1.0.la

idevicescreenshot_SOURCES = idevicescreenshot.c
idevicescreenshot_CFLAGS = $(AM_CFLAGS)
idevicescreenshot_LDFLAGS = $(AM_LDFLAGS)
idevicescreenshot_LDFLAGS = $(AM_LDFLAGS) -lm
idevicescreenshot_LDADD = $(top_builddir)/src/libimobiledevice-1.0.la

ideviceenterrecovery_SOURCES = ideviceenterrecovery.c
Expand Down

0 comments on commit b01909e

Please sign in to comment.