fix building in separate directory
authorMåns Rullgård <mans@mansr.com>
Sat, 13 Aug 2005 13:45:42 +0000 (13:45 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 13 Aug 2005 13:45:42 +0000 (13:45 +0000)
Originally committed as revision 4509 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile
libavformat/Makefile

index 05d2955..15aaee1 100644 (file)
@@ -234,7 +234,7 @@ OBJS+= liba52/bit_allocate.o liba52/bitstream.o liba52/downmix.o \
 endif
 endif
 
-EXTRALIBS += -L$(SRC_PATH)/libavutil -lavutil$(BUILDSUF)
+EXTRALIBS += -L../libavutil -lavutil$(BUILDSUF)
 
 # currently using libdts for dts decoding
 ifeq ($(CONFIG_DTS),yes)
index 9d921f1..6352f93 100644 (file)
@@ -56,7 +56,7 @@ ifeq ($(CONFIG_AUDIO_OSS),yes)
 OBJS+= audio.o 
 endif
 
-EXTRALIBS += -L$(SRC_PATH)/libavutil -lavutil$(BUILDSUF)
+EXTRALIBS += -L../libavutil -lavutil$(BUILDSUF)
 
 ifeq ($(CONFIG_AUDIO_BEOS),yes)
 PPOBJS+= beosaudio.o