aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-02-18 21:13:55 +0100
committerdec05eba <dec05eba@protonmail.com>2023-02-19 13:59:59 +0100
commitc4100f3c6633607e5d3277af450bee00456f09f9 (patch)
treeb6306e1ddff7d1d084d9270eb19811d328d11015 /build.sh
parent0be5ae0720a45ce391a59530a3ef7d3c9318011e (diff)
Add hotkey/codec config, add option to merge audio tracks
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 8c38b31..563cfec 100755
--- a/build.sh
+++ b/build.sh
@@ -3,4 +3,6 @@
dependencies="gtk+-3.0 x11 xrandr libpulse"
includes="$(pkg-config --cflags $dependencies)"
libs="$(pkg-config --libs $dependencies) -ldl"
-g++ -o gpu-screen-recorder-gtk -O2 src/main.cpp -s $includes $libs
+gcc -c src/egl.c -O2 -g0 -DNDEBUG $includes
+g++ -c src/main.cpp -O2 -g0 -DNDEBUG $includes
+g++ -o gpu-screen-recorder-gtk -O2 egl.o main.o -s $libs