Skip to content

Commit

Permalink
Build PIC libraries only under Unix
Browse files Browse the repository at this point in the history
This makes things closer to what they were before, since PIC objects
were not built for Windows.
  • Loading branch information
shindere committed Dec 19, 2016
1 parent 1808df3 commit 32b493a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions asmrun/Makefile
Expand Up @@ -100,9 +100,11 @@ ifeq "$(PROFILING)" "true"
TARGETS += libasmrunp.$(A)
endif

ifeq "$(UNIX_OR_WIN32)" "unix"
ifeq "$(SUPPORTS_SHARED_LIBRARIES)" "true"
TARGETS += libasmrun_pic.$(A) libasmrun_shared.$(SO)
endif
endif

.PHONY: all
all: $(TARGETS)
Expand Down

0 comments on commit 32b493a

Please sign in to comment.