Requires.private with optional dependencies?‏

Tollef Fog Heen tfheen at err.no
Fri Sep 23 07:56:34 PDT 2011


]] Jef Driesen 

| Is the correct way to add this line inside the if statement above:
|  
| AC_SUBST([DEPENDENCIES],[libusb-1.0])
|  
| And then use this line in the *.pc.in file:
|  
| Requires.private: @DEPENDENCIES@

Yes, you have to generate the .pc file.

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


More information about the pkg-config mailing list