mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
Link against perl.dll on Cygwin
This commit is contained in:
parent
4872677ffa
commit
f665c5d9b3
1 changed files with 6 additions and 0 deletions
|
@ -29,6 +29,12 @@ ifeq ($(perlbindings), yes)
|
||||||
-I$(shell $(perl) -e 'use Config; print $$Config{archlibexp};')/CORE \
|
-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
|
-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_ALLOW_UNDEFINED = 1
|
||||||
|
|
||||||
Store_FORCE_INSTALL = 1
|
Store_FORCE_INSTALL = 1
|
||||||
|
|
Loading…
Reference in a new issue