diff options
Diffstat (limited to 'llvm/projects/sample')
-rw-r--r-- | llvm/projects/sample/lib/sample/Makefile | 6 | ||||
-rw-r--r-- | llvm/projects/sample/tools/sample/Makefile | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/llvm/projects/sample/lib/sample/Makefile b/llvm/projects/sample/lib/sample/Makefile index 6b1ea05361b..c85ae1a711c 100644 --- a/llvm/projects/sample/lib/sample/Makefile +++ b/llvm/projects/sample/lib/sample/Makefile @@ -9,10 +9,8 @@ LEVEL=../.. # Give the name of a library. This will build a dynamic version. # LIBRARYNAME=sample -SHARED_LIBRARY=1 -LOADABLE_MODULE=1 -#DONT_BUILD_RELINKED=1 -#ARCHIVE_LIBRARY=1 +DONT_BUILD_RELINKED=1 +BUILD_ARCHIVE=1 # # Include Makefile.common so we know what to do. diff --git a/llvm/projects/sample/tools/sample/Makefile b/llvm/projects/sample/tools/sample/Makefile index 1127f755755..39da928329e 100644 --- a/llvm/projects/sample/tools/sample/Makefile +++ b/llvm/projects/sample/tools/sample/Makefile @@ -14,7 +14,7 @@ TOOLNAME=sample # List libraries that we'll need # We use LIBS because sample is a dynamic library. # -USEDLIBS = sample +USEDLIBS = sample.a # # Include Makefile.common so we know what to do. |