#63: Better linking..
------------------------+---------------------------------------------------
 Reporter:  toots       |       Owner:  admin    
     Type:  Bugs        |      Status:  new      
 Priority:  1           |   Milestone:           
Component:  Liquidsoap  |     Version:  0.3.5+svn
 Keywords:              |  
------------------------+---------------------------------------------------
 There are currently two issues when linking liquidsoap binary:

  * Makefile code is redundant, in Makefiles.defs, we have:
 {{{
 LIBS = @LIBS@
 (...)
 _OCAML_LFLAGS= @ocamllflags@ -cclib "$(LDFLAGS)"
 }}}
 And then in src/Makefile:
 {{{
 OCAML_LFLAGS= $(if $(BYTE),dynlink.cma) $(if $(W_RTP),-cclib -lortp) \
         $(if $(W_ID3TAG),-cclib -lid3tag)
 }}}

 It should be safe to remove the src/Makefile things and rely on configure
 && Makefile.defs..

  * Liquidsoap is linked against libspeex and libtheora. I've tryed to pass
 the link option "-Wl,--as-needed" but it fails because of id3tag....


 I've also had trouble compiling liquidsoap with id3tag on win32, so I
 suspect there's something not that clean in Makefile support for id3tag
 bindings...
 What about a separate package for ocaml-id3tag ? Would it be usefull to
 others ?

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/63>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !

Répondre à