We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 173ed41 commit bcfcee5Copy full SHA for bcfcee5
src/libmongoc/src/libmongoc.pc.in
@@ -27,7 +27,11 @@ Libs: -L${libdir} -l$<TARGET_PROPERTY:OUTPUT_NAME> ~@space@~
27
%define libs_prop $<TARGET_PROPERTY:pc_LIBS>
28
#~ Remove duplicate items, which will usually be redundant link paths:
29
%define libs $<REMOVE_DUPLICATES:libs_prop>
30
- $<JOIN:libs,@space@>
+ $<JOIN:libs,@space@>~
31
+
32
+ #~ Add link options. Don't remove duplicates, because they may be important
33
+ %define link_opts $<TARGET_PROPERTY:INTERFACE_LINK_OPTIONS>
34
+ $<$<<not-empty:link_opts>>:@space@$<JOIN:link_opts,@space@>>
35
36
~@newline@~
37
0 commit comments