mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Fix plugin tests on darwin
This commit is contained in:
parent
52c777a793
commit
3fe9767dd3
3 changed files with 7 additions and 7 deletions
|
@ -32,4 +32,4 @@ tests-environment = NIX_REMOTE= $(bash) -e
|
|||
|
||||
clean-files += $(d)/common.sh
|
||||
|
||||
installcheck: $(d)/common.sh $(d)/plugins/plugintest.so
|
||||
installcheck: $(d)/common.sh $(d)/plugins/libplugintest.$(SO_EXT)
|
||||
|
|
|
@ -2,6 +2,6 @@ source common.sh
|
|||
|
||||
set -o pipefail
|
||||
|
||||
res=$(nix eval '(builtins.anotherNull)' --option plugin-files $PWD/plugins/plugintest.so)
|
||||
res=$(nix eval '(builtins.anotherNull)' --option plugin-files $PWD/plugins/libplugintest*)
|
||||
|
||||
[ "$res"x = "nullx" ]
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
libraries += plugintest
|
||||
libraries += libplugintest
|
||||
|
||||
plugintest_DIR := $(d)
|
||||
libplugintest_DIR := $(d)
|
||||
|
||||
plugintest_SOURCES := $(d)/plugintest.cc
|
||||
libplugintest_SOURCES := $(d)/plugintest.cc
|
||||
|
||||
plugintest_ALLOW_UNDEFINED := 1
|
||||
libplugintest_ALLOW_UNDEFINED := 1
|
||||
|
||||
plugintest_EXCLUDE_FROM_LIBRARY_LIST := 1
|
||||
libplugintest_EXCLUDE_FROM_LIBRARY_LIST := 1
|
||||
|
|
Loading…
Reference in a new issue