<p><b>@jcarrano</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/12155#discussion_r322316198">pkg/oonf_api/Makefile</a>:</p>
<pre style='color:#555'>>  .PHONY: all
 
 all:
        "$(MAKE)" -C $(PKG_BUILDDIR)
-       "$(MAKE)" $(BINDIR)/$(MODULE).a
+       "$(MAKE)" $(COMBINED_ARCHIVE)
+
+PARTIAL_ARCHIVES = $(wildcard $(BINDIR)/oonf_*.a)
+
+$(COMBINED_ARCHIVE): $(BINDIR)/$(MODULE).mri $(PARTIAL_ARCHIVES)
+       ar -M < $<
+
+define ADDLIB_TEMPLATE
+addlib $1
</pre>
<p>Essentially, this is the same as <code>ADDLIB_TEMPLATE = addlib $1 \n</code>, if such a thing (<code>\n</code>) were allowed in make, which it isn't.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/12155?email_source=notifications&email_token=ABE7WYCXWX4OAT6DKP3R5ZLQIZVOHA5CNFSM4IS6H3M2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEC7RLA#discussion_r322316198">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYEFFRLU5WVVLOSW3J3QIZVOHANCNFSM4IS6H3MQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYAIW67MLS4YSGJG6K3QIZVOHA5CNFSM4IS6H3M2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEC7RLA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/12155?email_source=notifications\u0026email_token=ABE7WYCXWX4OAT6DKP3R5ZLQIZVOHA5CNFSM4IS6H3M2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEC7RLA#discussion_r322316198",
"url": "https://github.com/RIOT-OS/RIOT/pull/12155?email_source=notifications\u0026email_token=ABE7WYCXWX4OAT6DKP3R5ZLQIZVOHA5CNFSM4IS6H3M2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEC7RLA#discussion_r322316198",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>