[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
326/376: Link against perl.dll on Cygwin
From: |
Ludovic Courtès |
Subject: |
326/376: Link against perl.dll on Cygwin |
Date: |
Wed, 28 Jan 2015 22:05:56 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit f665c5d9b368cba0ca153323a805844f179e8bee
Author: Marko Durkovic <address@hidden>
Date: Tue Dec 9 12:25:25 2014 +0100
Link against perl.dll on Cygwin
---
perl/local.mk | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/perl/local.mk b/perl/local.mk
index 8ff60e9..73d8a7c 100644
--- a/perl/local.mk
+++ b/perl/local.mk
@@ -29,6 +29,12 @@ ifeq ($(perlbindings), yes)
-I$(shell $(perl) -e 'use Config; print $$Config{archlibexp};')/CORE \
-D_FILE_OFFSET_BITS=64 -Wno-unused-variable -Wno-literal-suffix
-Wno-reserved-user-defined-literal
+ ifeq (CYGWIN,$(findstring CYGWIN,$(OS)))
+ 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})
+ endif
+
Store_ALLOW_UNDEFINED = 1
Store_FORCE_INSTALL = 1
- 316/376: Merge pull request #401 from shlevy/external-value, (continued)
- 316/376: Merge pull request #401 from shlevy/external-value, Ludovic Courtès, 2015/01/28
- 314/376: Allow external code using libnixexpr to add types, Ludovic Courtès, 2015/01/28
- 328/376: Provide some fallback defaults for the CA bundle, Ludovic Courtès, 2015/01/28
- 329/376: Add option to disable binary cache certificate checking, Ludovic Courtès, 2015/01/28
- 330/376: Doh, Ludovic Courtès, 2015/01/28
- 327/376: Use https://cache.nixos.org instead of http://cache.nixos.org, Ludovic Courtès, 2015/01/28
- 331/376: Fix bad comment, Ludovic Courtès, 2015/01/28
- 320/376: Define ‘environ’, Ludovic Courtès, 2015/01/28
- 333/376: builtins.readFile: realise context associated with the path, Ludovic Courtès, 2015/01/28
- 332/376: Always use https to fetch the Nixpkgs channel, Ludovic Courtès, 2015/01/28
- 326/376: Link against perl.dll on Cygwin,
Ludovic Courtès <=
- 324/376: Set custom compiler flags on Cygwin, Ludovic Courtès, 2015/01/28
- 325/376: Fix library handling on Cygwin, Ludovic Courtès, 2015/01/28
- 335/376: Don't use RPATH on Darwin, Ludovic Courtès, 2015/01/28
- 337/376: Revert "Use posix_spawn to run the pager", Ludovic Courtès, 2015/01/28
- 334/376: Update signing.txt, Ludovic Courtès, 2015/01/28
- 336/376: Cruft, Ludovic Courtès, 2015/01/28
- 339/376: Include cacert in the binary tarball, Ludovic Courtès, 2015/01/28
- 340/376: Rename function, Ludovic Courtès, 2015/01/28
- 342/376: Don't do vfork in conjunction with setuid, Ludovic Courtès, 2015/01/28
- 341/376: Use vfork, Ludovic Courtès, 2015/01/28