diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-09-16 10:54:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-16 10:54:15 +0200 |
commit | bdfde49fb6d9a8787c072b759d4af27584308e1b (patch) | |
tree | 0d79854e65b0de68fd2f85f9a0f8f6f06e6b4aed /src/modules/extra/m_regex_tre.cpp | |
parent | 926361d233f4e6ea6a3964a070097fe637bd6bed (diff) | |
parent | 806e57433a38193ae14942ee60f573fe47f4b643 (diff) |
Merge pull request #1219 from SaberUK/master+directive
Rewrite the build system directive parser.
Diffstat (limited to 'src/modules/extra/m_regex_tre.cpp')
-rw-r--r-- | src/modules/extra/m_regex_tre.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/modules/extra/m_regex_tre.cpp b/src/modules/extra/m_regex_tre.cpp index 8a1d54248..e2eafcd01 100644 --- a/src/modules/extra/m_regex_tre.cpp +++ b/src/modules/extra/m_regex_tre.cpp @@ -17,15 +17,17 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/// $CompilerFlags: find_compiler_flags("tre") +/// $LinkerFlags: find_linker_flags("tre" "-ltre") + +/// $PackageInfo: require_system("darwin") pkg-config tre +/// $PackageInfo: require_system("ubuntu") libtre-dev pkg-config #include "inspircd.h" #include "modules/regex.h" #include <sys/types.h> #include <tre/regex.h> -/* $CompileFlags: pkgconfincludes("tre","tre/regex.h","") */ -/* $LinkerFlags: pkgconflibs("tre","/libtre.so","-ltre") rpath("pkg-config --libs tre") */ - class TRERegex : public Regex { regex_t regbuf; |