Skip to content

Commit 0a24543

Browse files
committed
Merging r369011:
------------------------------------------------------------------------ r369011 | bogner | 2019-08-15 17:36:13 +0200 (Thu, 15 Aug 2019) | 4 lines [cmake] install_symlink should obey DESTDIR unconditionally Setting DESTDIR was erroneously buried under a condition here - if it's set it should always be used. ------------------------------------------------------------------------ llvm-svn: 369335
1 parent 739ab8a commit 0a24543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/cmake/modules/LLVMInstallSymlink.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# See PR8397.
44

55
function(install_symlink name target outdir)
6+
set(DESTDIR $ENV{DESTDIR})
67
if(CMAKE_HOST_UNIX)
78
set(LINK_OR_COPY create_symlink)
8-
set(DESTDIR $ENV{DESTDIR})
99
else()
1010
set(LINK_OR_COPY copy)
1111
endif()

0 commit comments

Comments
 (0)