File tree 4 files changed +9
-6
lines changed
4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -455,11 +455,14 @@ def configure(env: "SConsEnvironment"):
455
455
print_error ("Wayland EGL library not found. Aborting." )
456
456
sys .exit (255 )
457
457
env .ParseConfig ("pkg-config wayland-egl --cflags --libs" )
458
+ else :
459
+ env .Prepend (CPPPATH = ["#thirdparty/linuxbsd_headers/wayland/" ])
460
+ if env ["libdecor" ]:
461
+ env .Prepend (CPPPATH = ["#thirdparty/linuxbsd_headers/libdecor-0/" ])
458
462
459
463
if env ["libdecor" ]:
460
464
env .Append (CPPDEFINES = ["LIBDECOR_ENABLED" ])
461
465
462
- env .Prepend (CPPPATH = ["#platform/linuxbsd" , "#thirdparty/linuxbsd_headers/wayland/" ])
463
466
env .Append (CPPDEFINES = ["WAYLAND_ENABLED" ])
464
467
env .Append (LIBS = ["rt" ]) # Needed by glibc, used by _allocate_shm_file
465
468
Original file line number Diff line number Diff line change 1
1
// This file is generated. Do not edit!
2
2
// see https://github.com/hpvb/dynload-wrapper for details
3
3
// generated by ./generate-wrapper.py 0.3 on 2022-12-12 10:55:19
4
- // flags: ./generate-wrapper.py --include /usr/include/libdecor-0/libdecor.h --sys-include <libdecor-0/libdecor .h> --soname libdecor-0.so.0 --init-name libdecor --output-header libdecor-so_wrap.h --output-implementation libdecor-so_wrap.c --omit-prefix wl_
4
+ // flags: ./generate-wrapper.py --include /usr/include/libdecor-0/libdecor.h --sys-include <libdecor.h> --soname libdecor-0.so.0 --init-name libdecor --output-header libdecor-so_wrap.h --output-implementation libdecor-so_wrap.c --omit-prefix wl_
5
5
//
6
6
// EDIT: This has been handpatched to properly report the pointer type of the window_state argument of libdecor_configuration_get_window_state.
7
7
#include <stdint.h>
45
45
#define libdecor_state_free libdecor_state_free_dylibloader_orig_libdecor
46
46
#define libdecor_configuration_get_content_size libdecor_configuration_get_content_size_dylibloader_orig_libdecor
47
47
#define libdecor_configuration_get_window_state libdecor_configuration_get_window_state_dylibloader_orig_libdecor
48
- #include <libdecor-0/libdecor .h>
48
+ #include <libdecor.h>
49
49
#undef libdecor_unref
50
50
#undef libdecor_new
51
51
#undef libdecor_get_fd
Original file line number Diff line number Diff line change 3
3
// This file is generated. Do not edit!
4
4
// see https://github.com/hpvb/dynload-wrapper for details
5
5
// generated by ./generate-wrapper.py 0.3 on 2022-12-12 10:55:19
6
- // flags: ./generate-wrapper.py --include /usr/include/libdecor-0/libdecor.h --sys-include <libdecor-0/libdecor .h> --soname libdecor-0.so.0 --init-name libdecor --output-header libdecor-so_wrap.h --output-implementation libdecor-so_wrap.c --omit-prefix wl_
6
+ // flags: ./generate-wrapper.py --include /usr/include/libdecor-0/libdecor.h --sys-include <libdecor.h> --soname libdecor-0.so.0 --init-name libdecor --output-header libdecor-so_wrap.h --output-implementation libdecor-so_wrap.c --omit-prefix wl_
7
7
//
8
8
// EDIT: This has been handpatched to properly report the pointer type of the window_state argument of libdecor_configuration_get_window_state.
9
9
#include <stdint.h>
47
47
#define libdecor_state_free libdecor_state_free_dylibloader_orig_libdecor
48
48
#define libdecor_configuration_get_content_size libdecor_configuration_get_content_size_dylibloader_orig_libdecor
49
49
#define libdecor_configuration_get_window_state libdecor_configuration_get_window_state_dylibloader_orig_libdecor
50
- #include <libdecor-0/libdecor .h>
50
+ #include <libdecor.h>
51
51
#undef libdecor_unref
52
52
#undef libdecor_new
53
53
#undef libdecor_get_fd
Original file line number Diff line number Diff line change 78
78
#ifdef SOWRAP_ENABLED
79
79
#include " dynwrappers/libdecor-so_wrap.h"
80
80
#else
81
- #include < libdecor-0/libdecor .h>
81
+ #include < libdecor.h>
82
82
#endif // SOWRAP_ENABLED
83
83
#endif // LIBDECOR_ENABLED
84
84
You can’t perform that action at this time.
0 commit comments