Bug 107671

Summary: can't define a macro as string literal with latest pkg-config
Product: pkg-config Reporter: Qiu Wenbo <qiuwenbo>
Component: srcAssignee: pkg-config
Status: RESOLVED MOVED QA Contact:
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Qiu Wenbo 2018-08-24 00:56:54 UTC
I'm trying to define a string literal in cflags and I find pkg-config will strip the quotes automatically.

For example, 

Cflags: -I${includedir}/somedir -DFOO="BAR"

and the output of pkg-config --cflags:

-I/usr/include/somedir -DFOO=BAR

I just want the macro FOO be defined as a string literal.
Comment 1 GitLab Migration User 2018-08-25 12:53:29 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pkg-config/pkg-config/issues/13.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.