File: arcam-av_uses_pthreads.patch

package info (click to toggle)
alsa-plugins 1.2.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,620 kB
  • sloc: ansic: 12,343; sh: 4,159; makefile: 302
file content (19 lines) | stat: -rw-r--r-- 899 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: link arcam-av module against libpthread
 The arcam-av module uses libpthread, so it should pass -pthread explicitly
 when building in order to avoid leaving any undefined symbols or missing
 symbol versioning info.
Author: Steve Langasek <steve.langasek@ubuntu.com>

Index: alsa-plugins/arcam-av/Makefile.am
===================================================================
--- alsa-plugins.orig/arcam-av/Makefile.am
+++ alsa-plugins/arcam-av/Makefile.am
@@ -9,7 +9,7 @@ asound_module_ctl_arcam_avdir = @ALSA_PL
 asound_module_gconfdir = @ALSA_GCONF_DIR@
 
 AM_CFLAGS = -Wall -g @ALSA_CFLAGS@
-AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined
+AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined -pthread
 
 libasound_module_ctl_arcam_av_la_SOURCES = ctl_arcam_av.c arcam_av.c arcam_av.h
 libasound_module_ctl_arcam_av_la_LIBADD = @ALSA_LIBS@ -lpthread