summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_regex_re2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_regex_re2.cpp')
-rw-r--r--src/modules/extra/m_regex_re2.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/modules/extra/m_regex_re2.cpp b/src/modules/extra/m_regex_re2.cpp
index c4657bf8b..2f0ee2998 100644
--- a/src/modules/extra/m_regex_re2.cpp
+++ b/src/modules/extra/m_regex_re2.cpp
@@ -17,6 +17,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/// $CompilerFlags: find_compiler_flags("re2" "")
+/// $LinkerFlags: find_linker_flags("re2" "-lre2")
+
+/// $PackageInfo: require_system("darwin") pkg-config re2
+/// $PackageInfo: require_system("ubuntu" "15.10") libre2-dev pkg-config
+
#include "inspircd.h"
#include "modules/regex.h"
@@ -32,8 +38,6 @@
#include <re2/re2.h>
-/* $LinkerFlags: -lre2 */
-
class RE2Regex : public Regex
{
RE2 regexcl;