Re: [AD] fshook patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Monday 06 October 2008, Peter Wang wrote:
> On 2008-10-06, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > > > Index: addons/acodec/CMakeLists.txt
> > > > ===================================================================
> > > > --- addons/acodec/CMakeLists.txt	(.../4.9)	(revision 11023)
> > > > +++ addons/acodec/CMakeLists.txt	(.../4.9-fshook)	(revision 11023)
> > > > @@ -32,6 +32,9 @@
> > > >              set(ALLEGRO_CFG_ACODEC_FLAC 1)
> > > >              include_directories(${FLAC_INCLUDE_DIR})
> > > >              list(APPEND ACODEC_EXTRA_LIBS ${FLAC_LIBRARIES})
> > > > +            if(WIN32)
> > > > +	        list(APPEND ACODEC_EXTRA_LIBS -lwsock32)
> > > > +            endif(WIN32)
> > > >              list(APPEND ACODEC_SOURCES flac.c)
> > > >          endif(FLAC_COMPILES)
> > > >      endif(FLAC_FOUND)
> > >
> > > Revert that.
> >
> > Nope, sorry. FLAC uses ntol iirc, and that only exists in wsock32 afaik.
> > It does however need to be changed to remove the -l
> >
> > without that change it wasn't compiling at all with mingw for me.
>
> Milan moved that change to FindFLAC.cmake on the trunk.

Did you know your messages are appearing 2-3+ times?

> Peter
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/