make polypaudio run when installed

update docs


git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@92 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-07-17 15:00:31 +00:00
parent 6601d958bf
commit 141ab85bb7
3 changed files with 29 additions and 3 deletions

View file

@ -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

View file

@ -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);