Skip to content

Commit

Permalink
Only purge sys.$(SHLIB_EXT) if JULIA_CPU_TARGET == native
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed May 17, 2014
1 parent eb4bfcc commit 245782c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,9 @@ else ifeq ($(OS), WINNT)
endif

# purge sys.{dll,so,dylib} as that file is not relocatable across processor architectures
ifeq ($(JULIA_CPU_TARGET), native)
-rm -f $(DESTDIR)$(private_libdir)/sys.$(SHLIB_EXT)
endif

ifeq ($(OS), WINNT)
[ ! -d dist-extras ] || ( cd dist-extras && \
Expand Down

0 comments on commit 245782c

Please sign in to comment.