diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-07-17 15:00:31 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-07-17 15:00:31 +0000 |
commit | 141ab85bb76c3d2a8f6f2eee91801597c98e4154 (patch) | |
tree | 744de626589867275bdd868537ad0b3bb227930a /polyp | |
parent | 6601d958bfa16acef7da5eafde23161a3b2cca41 (diff) |
make polypaudio run when installed
update docs
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@92 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp')
-rw-r--r-- | polyp/Makefile.am | 2 | ||||
-rw-r--r-- | polyp/main.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/polyp/Makefile.am b/polyp/Makefile.am index c4da7342..4edeeeba 100644 --- a/polyp/Makefile.am +++ b/polyp/Makefile.am @@ -17,7 +17,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. -AM_CFLAGS=-ansi -D_GNU_SOURCE +AM_CFLAGS=-ansi -D_GNU_SOURCE -DDLSEARCHDIR=\"$(pkglibdir)\" EXTRA_DIST = polypaudio.run depmod.py bin_PROGRAMS = polypaudio pacat pactl diff --git a/polyp/main.c b/polyp/main.c index d9967cef..bcc1fada 100644 --- a/polyp/main.c +++ b/polyp/main.c @@ -125,7 +125,10 @@ int main(int argc, char *argv[]) { r = lt_dlinit(); assert(r == 0); - +#ifdef DLSEARCHDIR + lt_dladdsearchdir(DLSEARCHDIR); +#endif + mainloop = pa_mainloop_new(); assert(mainloop); |