@@ -74,36 +74,36 @@ build(){
74
74
75
75
export CFLAGS=" $PLATFORM_CFLAGS -I${src_dir} /openwebrtc-deps-${target} /include -I${src_dir} /framework"
76
76
if [[ $target_triple == " arm-apple-darwin10" ]]; then
77
- local configure_flags=" --enable-static --disable-shared --disable-introspection"
77
+ local configure_flags=" --enable-static --enable-owr-static -- disable-shared --disable-introspection"
78
78
local platform_ldflags=" ${home} /openwebrtc-deps-armv7-ios/lib/my_environ.o ${home} /openwebrtc-deps-${target} /lib/my_stat.o "
79
79
local seed_platform_libs=" -framework JavaScriptCore"
80
80
export PLATFORM_GLIB_LIBS=" -lffi -lresolv -liconv -lintl "
81
81
export PLATFORM_GSTREAMER_LIBS=" -lgstosxaudio -lgstapplemedia -framework AssetsLibrary -framework CoreMedia -framework CoreVideo -framework AVFoundation -framework Foundation -framework OpenGLES -framework CoreAudio -framework AudioToolbox"
82
82
export PLATFORM_OWR_GST_PLUGINS_LIBS=" -lgstercolorspace"
83
83
export PLATFORM_CXX_LIBS=" -lc++"
84
84
elif [[ $target_triple == " i386-apple-darwin10" ]]; then
85
- local configure_flags=" --enable-static --disable-shared --disable-introspection"
85
+ local configure_flags=" --enable-static --enable-owr-static -- disable-shared --disable-introspection"
86
86
local seed_platform_libs=" -framework JavaScriptCore"
87
87
export PLATFORM_GLIB_LIBS=" -lffi -lresolv -liconv -lintl "
88
88
export PLATFORM_GSTREAMER_LIBS=" -framework CoreMedia -framework CoreVideo -framework AVFoundation -framework Foundation -framework OpenGLES -lgstosxaudio -lgstapplemedia -framework AssetsLibrary -framework CoreAudio -framework AudioToolbox"
89
89
export PLATFORM_CXX_LIBS=" -lc++"
90
90
elif [[ $target_triple == " arm-linux-androideabi" ]]; then
91
91
local platform_ldflags=" -llog -Wl,--allow-multiple-definition "
92
- local configure_flags=" --disable-static --enable-shared --disable-introspection"
92
+ local configure_flags=" --disable-static --enable-owr-static --enable- shared --disable-introspection"
93
93
local seed_platform_libs=" -ljavascriptcoregtk-3.0 -licui18n -licuuc -licudata"
94
94
export PLATFORM_GLIB_LIBS=" -lffi -liconv -lintl "
95
95
export PLATFORM_GSTREAMER_LIBS=" -lgstopensles -lOpenSLES -lGLESv2 -lEGL"
96
96
export PLATFORM_OWR_GST_PLUGINS_LIBS=" -lgstandroidvideosrc -lgstercolorspace"
97
97
export PLATFORM_CXX_LIBS=" -L$ANDROID_NDK /sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a -lgnustl_static -lstdc++"
98
98
elif [[ $target_triple == " x86_64-apple-darwin" ]]; then
99
- local configure_flags=" --enable-static --enable-shared --enable-gtk-doc"
99
+ local configure_flags=" --enable-static --enable-owr-static --enable- shared --enable-gtk-doc"
100
100
local seed_platform_libs=" -framework JavaScriptCore"
101
101
export PLATFORM_GLIB_LIBS=" -lffi -lresolv -liconv -lintl -framework Carbon"
102
102
export PLATFORM_GSTREAMER_LIBS=" -lgstvideoconvert -lgstapplemedia -lgstosxaudio"
103
103
export PLATFORM_GSTREAMER_LIBS=" $PLATFORM_GSTREAMER_LIBS -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework CoreMedia -framework CoreVideo -framework QTKit -framework AVFoundation -framework Foundation -framework VideoToolbox -framework AppKit -framework OpenGL"
104
104
export PLATFORM_CXX_LIBS=" -lc++"
105
105
elif [[ $target_triple == " x86_64-unknown-linux" ]] ; then
106
- local configure_flags=" --enable-static --enable-shared --enable-gtk-doc"
106
+ local configure_flags=" --enable-static --enable-owr-static --enable- shared --enable-gtk-doc"
107
107
local seed_platform_libs=" -ljavascriptcoregtk-3.0 -licui18n -licuuc -licudata"
108
108
export PLATFORM_GLIB_LIBS=" -lpthread -lffi -lrt -ldl -lresolv"
109
109
export PLATFORM_GSTREAMER_LIBS=" -lgstvideoconvert -lgstpulse -lpulse-mainloop-glib -lpulse -lgstvideo4linux2 -lv4l2 -lX11 -lXv -lgstallocators-1.0 -lGLU -lGL"
0 commit comments