File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -14,29 +14,30 @@ ffbuild_enabled() {
14
14
}
15
15
16
16
ffbuild_dockerbuild () {
17
- autoreconf -i
17
+ # stop the static library from exporting symbols when linked into a shared lib
18
+ sed -i ' s/-DDVDREAD_API_EXPORT//g' src/meson.build
19
+
20
+ mkdir build && cd build
18
21
19
22
local myconf=(
20
23
--prefix=" $FFBUILD_PREFIX "
21
- --disable-shared
22
- --enable-static
23
- --with-pic
24
- --disable-apidoc
25
- --with-libdvdcss
24
+ -Ddefault_library=static
25
+ -Denable_docs=false
26
+ -Dlibdvdcss=enabled
26
27
)
27
28
28
29
if [[ $TARGET == win* || $TARGET == linux* ]]; then
29
30
myconf+=(
30
- --host= " $FFBUILD_TOOLCHAIN "
31
+ --cross-file=/cross.meson
31
32
)
32
33
else
33
34
echo " Unknown target"
34
35
return -1
35
36
fi
36
37
37
- ./configure " ${myconf[@]} "
38
- make -j$( nproc)
39
- make install DESTDIR=" $FFBUILD_DESTDIR "
38
+ meson setup " ${myconf[@]} " ..
39
+ ninja -j$( nproc)
40
+ DESTDIR=" $FFBUILD_DESTDIR " ninja install
40
41
}
41
42
42
43
ffbuild_configure () {
You can’t perform that action at this time.
0 commit comments