[
https://issues.apache.org/jira/browse/SERF-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17794765#comment-17794765
]
Daniel Sahlberg commented on SERF-160:
--------------------------------------
This issue has been fixed in /trunk in r1712172
> ParseConfig and duplicate linker flags
> --------------------------------------
>
> Key: SERF-160
> URL: https://issues.apache.org/jira/browse/SERF-160
> Project: serf
> Issue Type: Bug
> Reporter: Serf Importer
> Priority: Major
> Labels: Priority-Medium, Type-Defect
>
> SConstruct contains the following lines:
> env.ParseConfig('$APR --cflags --cppflags --ldflags --includes'$
>
> ' --link-ld --libs')$
> env.ParseConfig('$APU --ldflags --includes --link-ld --libs')$
> In my build environment, this caused some elements of LINKFLAGS to be removed.
> The following worked better for me:
> env.ParseConfig('$APR --cflags --cppflags --ldflags --includes'$
>
> ' --link-ld --libs', unique=0)$
>
> env.ParseConfig('$APU --ldflags --includes --link-ld --libs', unique=0)$
> Original issue reported by *yorickthepoor*
--
This message was sent by Atlassian Jira
(v8.20.10#820010)