<p>Over all I do not have anything against, but it might be a more complex process that some could expect.</p>
<p>A good step was already done with source code restructuring done for v5.0, now all header files are inside src/ folder, so that can be the base dir when compiling from sources and can be what would result after installation in something like /usr/include/kamailio/, then inside it place the core, lib, modules headers. The most of the work would be with shared objects, to expose them properly for kamailio usage as well as compiler linking.</p>
<p>If anyone wants to do the work, I would say to go ahead and then make the pull request. If doesn't break the current use, I see no reason not to merge.</p>
<p>I am even willing to propose to get rid of internal libraries if that would simplify things. I had it in mind to start a discussion about it even before this was proposed, so just as a hint here, I will make a dedicated topic for it.</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/kamailio/kamailio/issues/1752#issuecomment-454380932">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36Zdfp8i-rMLU8RvLxN3n4IFOjeAd-ks5vDc4zgaJpZM4Y-Yr_">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZfGMl52TzYHddRzufXWZayyj9tzVks5vDc4zgaJpZM4Y-Yr_.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@miconda in #1752: Over all I do not have anything against, but it might be a more complex process that some could expect.\r\n\r\nA good step was already done with source code restructuring done for v5.0, now all header files are inside src/ folder, so that can be the base dir when compiling from sources and can be what would result after installation in something like /usr/include/kamailio/, then inside it place the core, lib, modules headers. The most of the work would be with shared objects, to expose them properly for kamailio usage as well as compiler linking.\r\n\r\nIf anyone wants to do the work, I would say to go ahead and then make the pull request. If doesn't break the current use, I see no reason not to merge.\r\n\r\nI am even willing to propose to get rid of internal libraries if that would simplify things. I had it in mind to start a discussion about it even before this was proposed, so just as a hint here, I will make a dedicated topic for it."}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1752#issuecomment-454380932"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1752#issuecomment-454380932",
"url": "https://github.com/kamailio/kamailio/issues/1752#issuecomment-454380932",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>