Bug 107671 - can't define a macro as string literal with latest pkg-config
Summary: can't define a macro as string literal with latest pkg-config
Status: RESOLVED MOVED
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: All All
: medium major
Assignee: pkg-config
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-24 00:56 UTC by Qiu Wenbo
Modified: 2018-08-25 12:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.