mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-04-19 20:40:47 +02:00
Adds a hash table to the package list expansion to avoid iterating over the children of package nodes that have already been visited. Without this, the expansion is exponential. For library sets with a high degree of dependency, iteration over the tree with revisiting results, in practice, in significant slow down at best and pkg-config failure due to memory exhaustion at worst. The resulting algorithm is equivalent to a topological sort.
10 lines
238 B
PkgConfig
10 lines
238 B
PkgConfig
prefix=/path2
|
|
exec_prefix=${prefix}
|
|
libdir="${exec_prefix}/lib"
|
|
includedir="${prefix}/include"
|
|
|
|
Name: Dependencies test.
|
|
Description: Test package for testing dependency order.
|
|
Version: 1.0.0
|
|
Libs: -ld_dep_f_e
|
|
Requires: f_dep_g e_dep_g_f
|