[PATCH 2/2] uri: fix uri.c generation command (make ragel)

Alexander Turenko alexander.turenko at tarantool.org
Wed Feb 27 14:17:40 MSK 2019


This is follow up of the following commit:

commit d735b6bfb18ed5cdaa020f247326dfcfd72d47b4
Author: Vladislav Shpilevoy <v.shpilevoy at tarantool.org>
Date:   Mon Feb 25 18:21:36 2019 +0300

    Move 'uri' lib to src/lib/

    URI and core libraries are going to be used by SWIM, stored in
    src/lib. But src/lib can not depend on src/. This patch pushes
    URI library down to src/lib - the lowest level of source
    dependencies.

    Needed for #3234
---
 src/lib/uri/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/uri/CMakeLists.txt b/src/lib/uri/CMakeLists.txt
index f0913b7b4..96410e5bf 100644
--- a/src/lib/uri/CMakeLists.txt
+++ b/src/lib/uri/CMakeLists.txt
@@ -1,6 +1,6 @@
 add_custom_target(ragel
     WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
-    COMMAND ragel -G2 src/uri.rl -o src/uri.c)
+    COMMAND ragel -G2 src/lib/uri/uri.rl -o src/lib/uri/uri.c)
 
 if (CC_HAS_WNO_IMPLICIT_FALLTHROUGH)
     # Suppress noise warnings for autogenerated Ragel code
-- 
2.20.1




More information about the Tarantool-patches mailing list