[xiph-cvs] cvs commit: theora/examples Makefile.am

Monty xiphmont at xiph.org
Wed Sep 10 12:16:07 PDT 2003



xiphmont    03/09/10 15:16:07

  Modified:    examples Makefile.am
  Log:
  Minor build fix; make sure -lm is at the end of the libs line

Revision  Changes    Path
1.15      +4 -4      theora/examples/Makefile.am

Index: Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/theora/examples/Makefile.am,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- Makefile.am	15 Jun 2003 00:56:42 -0000	1.14
+++ Makefile.am	10 Sep 2003 19:16:07 -0000	1.15
@@ -11,20 +11,20 @@
 
 CFLAGS = $(SDL_CFLAGS)
 LDFLAGS = -all-static 
-LDADD = ../lib/libtheora.la -logg -lm
+LDADD = ../lib/libtheora.la -logg 
 
 dump_video_SOURCES = dump_video.c
 dump_video_LDADD = $(LDADD)
 
 player_example_SOURCES = player_example.c
-player_example_LDADD = $(LDADD) $(SDL_LIBS) -lvorbis
+player_example_LDADD = $(LDADD) $(SDL_LIBS) -lvorbis -lm
 
 splayer_SOURCES = splayer.c
-splayer_LDADD = $(LDADD) $(SDL_LIBS) -lvorbis -lportaudio -lpthread
+splayer_LDADD = $(LDADD) $(SDL_LIBS) -lvorbis -lportaudio -lpthread -lm
 
 encoder_example_SOURCES = encoder_example.c
 EXTRA_encoder_example_SOURCES = getopt.c getopt1.c getopt.h
-encoder_example_LDADD = $(GETOPT_OBJS) $(LDADD) -lvorbisenc -lvorbis
+encoder_example_LDADD = $(GETOPT_OBJS) $(LDADD) -lvorbisenc -lvorbis -lm
 encoder_example_DEPENDENCIES = $(GETOPT_OBJS)
 
 debug:

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list