Build option '-Dprofiler=true' fails with latest sysprof-capture
I'm unable to compile gtk+-3 on Fedora 40 with profiler support "-Dprofiler=true" because it looks for sysprof-capture-3 while Fedora 40 only provides sysprof-capture-4. GTK4 for the same build option only looks for sysprof-capture-4.
This commit is contained in:
		| @ -833,7 +833,10 @@ endif | ||||
|  | ||||
| profiler_enabled = get_option('profiler') | ||||
| if profiler_enabled | ||||
|   profiler_dep = dependency('sysprof-capture-3', static: true, required: true) | ||||
|   profiler_dep = dependency('sysprof-capture-3', static: true, required: false) | ||||
|   if not profiler_dep.found() | ||||
|     profiler_dep = dependency('sysprof-capture-4', static: true, required: false) | ||||
|   endif | ||||
|   if profiler_dep.found() | ||||
|     cdata.set('HAVE_SYSPROF_CAPTURE', profiler_dep.found()) | ||||
|   else | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Nelson Benítez León
					Nelson Benítez León