Libraries are created in the build tree, not in the source tree.
[ffmpeg.git] / common.mak
index 03bc8b1a59b9ca7c0e51402e33ef3bdee2beb570..01d44840c885304ed5db0248e27a354f764c1bc4 100644 (file)
@@ -10,7 +10,7 @@ OBJS := $(OBJS) $(ASM_OBJS) $(CPPOBJS)
 STATIC_OBJS := $(OBJS) $(STATIC_OBJS)
 SHARED_OBJS := $(OBJS) $(SHARED_OBJS)
 
-EXTRALIBS := -L$(SRC_PATH)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
+EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
 
 all: $(EXTRADEPS) $(LIB) $(SLIBNAME)