Skip to content

Commit

Permalink
Fixed sporadic linking bug that was dependent on the order of files r…
Browse files Browse the repository at this point in the history
…eturned by a find command.
  • Loading branch information
halfninja committed Jul 20, 2011
1 parent 22605bb commit 2498bde
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion jni/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE := videokit
FFMPEG_LIBS := $(shell find ffmpeg -name '*.a')
#FFMPEG_LIBS := $(shell find ffmpeg -name '*.a')
FFMPEG_LIBS := ffmpeg/libavdevice/libavdevice.a \
ffmpeg/libavformat/libavformat.a \
ffmpeg/libavcodec/libavcodec.a \
ffmpeg/libavfilter/libavfilter.a \
ffmpeg/libavutil/libavutil.a \
ffmpeg/libswscale/libswscale.a \
ffmpeg/libpostproc/libpostproc.a
LOCAL_CFLAGS += -Iffmpeg -Ivideokit
LOCAL_LDLIBS += -llog $(FFMPEG_LIBS) x264/libx264.a
LOCAL_SRC_FILES := videokit/jni_interface.c
Expand Down

0 comments on commit 2498bde

Please sign in to comment.