Hi! > The ultimate goal is being able to automatically detect at link time > that program A requires library B implementing at least version X of > the interface and embedding such information in packages > automatically. Just like we do for glibc with its GLIBC_x_y > interfaces. > > The changes required for glibc was: > 1) removing the -export-symbols-regex "^g.*" passed to libtool > 2) adding -Wl,-version-script=libglib-2.0.ver to libglib_2_0_la_LDFLAGS > 3) creating the .ver file > > A sample file (marking just one symbol as GLIB_2_24 for demonstration > purposes) looks like that: Are you talking about glibc or glib? It's a bit confusing to me... Regards, Johannes
Attachment:
signature.asc
Description: This is a digitally signed message part