From: Andre Noll Date: Tue, 1 Mar 2011 22:18:33 +0000 (+0100) Subject: configure.ac: Avoid stray -L option in para_server link command. X-Git-Tag: v0.4.6~24^2 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=fc81b02169c4817b45c5718cc333048042049e48;ds=sidebyside configure.ac: Avoid stray -L option in para_server link command. If --with-osl-libs is not given, we end up passing "-L" without a corresponding directory name to the linker. --- diff --git a/configure.ac b/configure.ac index f3a2d133..e8b2118c 100644 --- a/configure.ac +++ b/configure.ac @@ -133,7 +133,7 @@ server_errlist_objs="server afh_common mp3_afh vss command net string signal ipc dccp_send fd user_list chunk_queue afs aft mood score attribute blob playlist sha1 sched acl send_common udp_send color fec server_command_list afs_command_list wma_afh wma_common" -server_ldflags="-losl" +server_ldflags="" server_audio_formats="mp3 wma" write_cmdline_objs="add_cmdline(write file_write)" @@ -268,7 +268,7 @@ else extras="$extras server" executables="$executables server" AC_SUBST(osl_cppflags) - server_ldflags="$server_ldflags -L$with_osl_libs" + server_ldflags="$server_ldflags $osl_libs -losl" fi CPPFLAGS="$OLD_CPPFLAGS" LDFLAGS="$OLD_LDFLAGS"