SDL2: get native wayland-scanner
This commit is contained in:
parent
34e4d0fd98
commit
1a835f911b
1 changed files with 6 additions and 1 deletions
|
@ -42,9 +42,14 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace include/SDL_opengl_glext.h \
|
substituteInPlace include/SDL_opengl_glext.h \
|
||||||
--replace "typedef ptrdiff_t GLsizeiptr;" "typedef signed long int khronos_ssize_t; typedef khronos_ssize_t GLsizeiptr;" \
|
--replace "typedef ptrdiff_t GLsizeiptr;" "typedef signed long int khronos_ssize_t; typedef khronos_ssize_t GLsizeiptr;" \
|
||||||
--replace "typedef ptrdiff_t GLintptr;" "typedef signed long int khronos_intptr_t; typedef khronos_intptr_t GLintptr;"
|
--replace "typedef ptrdiff_t GLintptr;" "typedef signed long int khronos_intptr_t; typedef khronos_intptr_t GLintptr;"
|
||||||
|
|
||||||
|
substituteInPlace configure \
|
||||||
|
--replace 'WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`' 'WAYLAND_SCANNER=`pkg-config --variable=wayland_scanner wayland-scanner`'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
depsBuildBuild = [ pkgconfig ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig wayland ];
|
||||||
|
|
||||||
propagatedBuildInputs = dlopenPropagatedBuildInputs;
|
propagatedBuildInputs = dlopenPropagatedBuildInputs;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue