shairport-sync: get rid of libstdcpp
authorRosen Penev <rosenp@gmail.com>
Mon, 26 Feb 2024 20:40:14 +0000 (12:40 -0800)
committerRosen Penev <rosenp@gmail.com>
Tue, 19 Mar 2024 12:01:43 +0000 (05:01 -0700)
--as-needed gets rid of it apparently.

Remove empty patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
sound/shairport-sync/Makefile
sound/shairport-sync/patches/010-no-cxx.patch [deleted file]

index 8a490b98332f846e84f1a7d070e5fa645084697b..48507139274d40e6ca2cfeb8f84b2dc094157035 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=shairport-sync
 PKG_VERSION:=4.3.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/mikebrady/shairport-sync/tar.gz/$(PKG_VERSION)?
@@ -29,7 +29,7 @@ define Package/shairport-sync/default
   SECTION:=sound
   CATEGORY:=Sound
   TITLE:=AirPlay compatible audio player
-  DEPENDS:=@AUDIO_SUPPORT +libpthread +alsa-lib +libconfig +libdaemon +libpopt +libstdcpp +libplist +libsodium +libgcrypt +libffmpeg-full +libuuid +nqptp
+  DEPENDS:=@AUDIO_SUPPORT +libpthread +alsa-lib +libconfig +libdaemon +libpopt +libplist +libsodium +libgcrypt +libffmpeg-full +libuuid +nqptp
   PROVIDES:=shairport-sync
   URL:=https://github.com/mikebrady/shairport-sync
 endef
@@ -96,6 +96,8 @@ else
   CONFIGURE_ARGS+= --with-avahi --with-soxr
 endif
 
+TARGET_LDFLAGS += -Wl,--as-needed
+
 define Package/shairport-sync/default/conffiles
 /etc/config/shairport-sync
 /etc/shairport-sync.conf
diff --git a/sound/shairport-sync/patches/010-no-cxx.patch b/sound/shairport-sync/patches/010-no-cxx.patch
deleted file mode 100644 (file)
index e69de29..0000000