diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/BrainF/Makefile | 3 | ||||
-rw-r--r-- | examples/Fibonacci/Makefile | 3 | ||||
-rw-r--r-- | examples/HowToUseJIT/Makefile | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/examples/BrainF/Makefile b/examples/BrainF/Makefile index 2c3e066..2e2cb6d 100644 --- a/examples/BrainF/Makefile +++ b/examples/BrainF/Makefile @@ -9,6 +9,9 @@ LEVEL = ../.. TOOLNAME = BrainF EXAMPLE_TOOL = 1 +# To keep the shared library working, we link a few of the examples +# against it unconditionally. +ENABLE_SHARED = 1 LINK_COMPONENTS := jit bitwriter nativecodegen interpreter diff --git a/examples/Fibonacci/Makefile b/examples/Fibonacci/Makefile index 71f6ba0..d89119a 100644 --- a/examples/Fibonacci/Makefile +++ b/examples/Fibonacci/Makefile @@ -10,6 +10,9 @@ LEVEL = ../.. TOOLNAME = Fibonacci EXAMPLE_TOOL = 1 +# To keep the shared library working, we link a few of the examples +# against it unconditionally. +ENABLE_SHARED = 1 # Link in JIT support LINK_COMPONENTS := jit interpreter nativecodegen diff --git a/examples/HowToUseJIT/Makefile b/examples/HowToUseJIT/Makefile index c8919db..c61e9e1 100644 --- a/examples/HowToUseJIT/Makefile +++ b/examples/HowToUseJIT/Makefile @@ -9,6 +9,9 @@ LEVEL = ../.. TOOLNAME = HowToUseJIT EXAMPLE_TOOL = 1 +# To keep the shared library working, we link a few of the examples +# against it unconditionally. +ENABLE_SHARED = 1 LINK_COMPONENTS := jit interpreter nativecodegen |