diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-18 11:46:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-18 11:46:12 +0000 |
commit | f15278315a3ded2adaf5caf5061c9ecabf836676 (patch) | |
tree | e9acc3d8bd6facea3f4ff2e0682c2a66f8ba193e /main/mp3splt-gtk/dbus-glib-underlinking.patch | |
parent | 685640eec24e6fa6ce4b5983920fef42f75ae9de (diff) | |
download | aports-f15278315a3ded2adaf5caf5061c9ecabf836676.tar.bz2 aports-f15278315a3ded2adaf5caf5061c9ecabf836676.tar.xz |
main/mp3split-gtk: fix underlinking
Diffstat (limited to 'main/mp3splt-gtk/dbus-glib-underlinking.patch')
-rw-r--r-- | main/mp3splt-gtk/dbus-glib-underlinking.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/main/mp3splt-gtk/dbus-glib-underlinking.patch b/main/mp3splt-gtk/dbus-glib-underlinking.patch new file mode 100644 index 000000000..87623236e --- /dev/null +++ b/main/mp3splt-gtk/dbus-glib-underlinking.patch @@ -0,0 +1,27 @@ +diff --git a/configure.ac b/configure.ac +index bddace0..b4bb928 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -121,6 +121,9 @@ AC_MSG_RESULT($HOST) + #check for -lm + AC_CHECK_LIB(m, pow, [ haslm="yes" ] , [ AC_MSG_ERROR([libm not found !]) ] ) + ++# check for dbus-glib ++PKG_CHECK_MODULES(DBUS_GLIB, dbus-glib-1) ++ + ################################################# + # Initialize the gnome integration + ################################################# +diff --git a/src/Makefile.am b/src/Makefile.am +index fce2976..6e80355 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -48,7 +48,7 @@ mp3splt_gtk_SOURCES = \ + + INCLUDES = @GTK_CFLAGS@ @MP3SPLT_CFLAGS@ + +-mp3splt_gtk_LDADD = @GTK_LIBS@ -lgthread-2.0 @MP3SPLT_LIBS@ -lm ++mp3splt_gtk_LDADD = @GTK_LIBS@ -lgthread-2.0 @MP3SPLT_LIBS@ @DBUS_GLIB_LIBS@ -lm + + # Define a C macro LOCALEDIR indicating where catalogs will be installed. + localedir = $(datadir)/locale |