fix deps plasma-desktop, plasma-workspace
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
Index: libcanberra-0.12/acinclude.m4
|
||||
===================================================================
|
||||
--- libcanberra-0.12.orig/acinclude.m4
|
||||
+++ libcanberra-0.12/acinclude.m4
|
||||
@@ -112,7 +112,7 @@ acx_pthread_flags="pthreads none -Kthrea
|
||||
# pthread-config: use pthread-config program (for GNU Pth library)
|
||||
|
||||
case "${host_cpu}-${host_os}" in
|
||||
- *solaris*)
|
||||
+ *solaris*|*linux*)
|
||||
|
||||
# On Solaris (at least, for some versions), libc contains stubbed
|
||||
# (non-functional) versions of the pthreads routines, so link-based
|
||||
@@ -0,0 +1,22 @@
|
||||
Index: libcanberra-0.12/src/Makefile.am
|
||||
===================================================================
|
||||
--- libcanberra-0.12.orig/src/Makefile.am
|
||||
+++ libcanberra-0.12/src/Makefile.am
|
||||
@@ -58,7 +58,8 @@ libcanberra_la_CFLAGS = \
|
||||
$(AM_CFLAGS) \
|
||||
$(VORBIS_CFLAGS)
|
||||
libcanberra_la_LIBADD = \
|
||||
- $(VORBIS_LIBS)
|
||||
+ $(VORBIS_LIBS) \
|
||||
+ $(PTHREAD_LIBS)
|
||||
libcanberra_la_LDFLAGS = \
|
||||
-export-dynamic \
|
||||
-version-info $(LIBCANBERRA_VERSION_INFO)
|
||||
@@ -290,6 +291,7 @@ libcanberra_gtk_la_CFLAGS = \
|
||||
$(GTK_CFLAGS)
|
||||
libcanberra_gtk_la_LIBADD = \
|
||||
$(GTK_LIBS) \
|
||||
+ -lX11 \
|
||||
libcanberra.la
|
||||
libcanberra_gtk_la_LDFLAGS = \
|
||||
-export-dynamic -version-info $(LIBCANBERRA_GTK_VERSION_INFO)
|
||||
Reference in New Issue
Block a user