diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-07-08 12:40:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-08 12:40:54 +0200 |
commit | 2172e60f7a53a56ff1ce04f3b683fb618fc5d3f7 (patch) | |
tree | a00b7d7ec683601412aa2915e78af29e7c564f97 /perl/local.mk | |
parent | 156666de3da4a754582259bcc2fe68018ed2d3a5 (diff) | |
parent | 4f80464645e4c8e7ca9455fc53cc76dc50f688ed (diff) |
Merge pull request #4935 from alyssais/host_os
Apply OS checks to host platform, not build
Diffstat (limited to 'perl/local.mk')
-rw-r--r-- | perl/local.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/local.mk b/perl/local.mk index b13d4c0d6..0eae651d8 100644 --- a/perl/local.mk +++ b/perl/local.mk @@ -28,7 +28,7 @@ Store_CXXFLAGS = \ Store_LDFLAGS := $(SODIUM_LIBS) $(NIX_LIBS) -ifeq (CYGWIN,$(findstring CYGWIN,$(OS))) +ifdef HOST_CYGWIN archlib = $(shell perl -E 'use Config; print $$Config{archlib};') libperl = $(shell perl -E 'use Config; print $$Config{libperl};') Store_LDFLAGS += $(shell find ${archlib} -name ${libperl}) |