[Buildroot] [PATCH 1/3] rpi-userland: fix opengl library symlinks

Gaël PORTAY gael.portay at savoirfairelinux.com
Fri Jul 7 19:26:28 UTC 2017


Hi all,

My bad, I forgot to update this patch.

I have a new version that avoid to break existing compiled binaries, and which
satisfies the needs for qtwebengine.

I have replaved the following code

	set_target_properties(
		GLESv2 PROPERTIES
		VERSION "2.0.0"
		SOVERSION "2"
	)

	set_target_properties(
		EGL PROPERTIES
		VERSION "1.0.0"
		SOVERSION "1"
	)

into

	set(DESTDIR \$ENV{DESTDIR})
	include(GNUInstallDirs)
	install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink libEGL.so ${DESTDIR}/${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libEGL.so.1)")
	install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink libGLESv2.so ${DESTDIR}/${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/libGLESv2.so.2)")

I will update this in v2.

Regards,
Gaël



More information about the buildroot mailing list