That is not true anymore. When dry packages query rospack for the compiler and linker flags rospack already "knows" if the information is requested for a wet package and than queries the generated pkg-config file.