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

Commit

Permalink
build server/client only if selected
Browse files Browse the repository at this point in the history
  • Loading branch information
badaix committed Apr 28, 2018
1 parent 128c44f commit 2e46c71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions buildroot-external/package/snapcast/snapcast.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ define SNAPCLIENT_INSTALL_INIT_SYSTEMD
ln -fs ../../../../usr/lib/systemd/system/snapclient.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/snapclient.service
endef
else # !BR2_PACKAGE_SNAPCAST_CLIENT
SNAPCAST_CONF_OPTS += -DBUILD_CLIENT=OFF
endif


Expand All @@ -57,6 +59,8 @@ define SNAPSERVER_INSTALL_INIT_SYSTEMD
ln -fs ../../../../usr/lib/systemd/system/snapserver.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/snapserver.service
endef
else # !BR2_PACKAGE_SNAPCAST_SERVER
SNAPCAST_CONF_OPTS += -DBUILD_SERVER=OFF
endif


Expand Down

0 comments on commit 2e46c71

Please sign in to comment.