Add Revision keywords to these files, as it's common for them to be
[oota-llvm.git] / unittests / Makefile.unittest
index 9dfb965d38fb0ea457a956d403b6f1e4b992fd74..b1c1d2c6b14098bfcb98a53d6aacbe94e63ee586 100644 (file)
@@ -32,8 +32,6 @@ ifeq ($(ENABLE_SHARED), 1)
   # Add the absolute path to the dynamic library.  This is ok because
   # we'll never install unittests.
   LD.Flags += $(RPATH) -Wl,$(LibDir)
-endif
-ifeq ($(ENABLE_SHARED), 1)
   # Also set {DYLD,LD}_LIBRARY_PATH because OSX ignores the rpath most
   # of the time.
   Run.Shared := $(SHLIBPATH_VAR)="$(LibDir)$${$(SHLIBPATH_VAR):+:}$$$(SHLIBPATH_VAR)"