build: Use subdir-objects

We are referencing objects in sub-directories, which means we need to
tell Automake about that.
This commit is contained in:
Emmanuele Bassi 2021-05-11 15:34:19 +01:00
parent 7c7b4e35bc
commit 76c7f5edcf

View file

@ -14,7 +14,7 @@ AC_CONFIG_HEADERS(config.h)
AC_CHECK_HEADERS([unistd.h sys/ioctl.h])
AC_C_TYPEOF
AM_INIT_AUTOMAKE([1.11 foreign -Wall no-define no-dist-gzip dist-xz serial-tests])
AM_INIT_AUTOMAKE([1.11 foreign -Wall no-define no-dist-gzip dist-xz serial-tests subdir-objects])
AM_SILENT_RULES([yes])
m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) dnl Workaround for Automake 1.12