Skip to content

Commit

Permalink
define DSM 7 compatible sysconfdir
Browse files Browse the repository at this point in the history
  • Loading branch information
hgy59 committed Dec 4, 2021
1 parent 7c9108f commit 7b21910
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cross/shairport-sync/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ endif

CONFIGURE_ARGS += ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes

# force DSM 7 compatible sysconfdir
# sysconfdir=/var/packages/{spk-name}/var - i.e. var as sibling instead of child of "target" folder
CONFIGURE_ARGS += --sysconfdir=$(dir $(INSTALL_PREFIX))var

PRE_CONFIGURE_TARGET = shairport-sync_pre_configure

include ../../mk/spksrc.cross-cc.mk
Expand Down

0 comments on commit 7b21910

Please sign in to comment.