[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How a package will determine the dependencies



hi
i have a library and want to package it 
But it has a configuration option as --enable-debug=yes/no

So i need to make 2 packages as

1) libinput0
2) libinput0-debug

So now if an application uses libinput, how the $(shlibs:Depends) variable
get substituted, during application package being built. Because dpkg will
automatically determine and substitute the variable according to which one
of the above two lib packages are installed, at the time of application
package being built.

The application must work with any of  the above packages

should i manually write "libinput0 | libinput0-debug" in Depends field.
Or is there a some other way to do it.

thanks and regards
varun 
-- 
View this message in context: http://www.nabble.com/How-a-package-will-determine-the-dependencies-tf4732207.html#a13531374
Sent from the debian-mentors mailing list archive at Nabble.com.



Reply to: