File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 10
10
cabalProjectLocal = builtins . readFile ../cabal.project.local ;
11
11
modules = [
12
12
( { pkgs , ...} : {
13
+ packages . th-dlls-minimal . components . library . preBuild = ''
14
+ export ISERV_ARGS=-v
15
+ export PROSY_ARGS=-v
16
+ '' ;
13
17
packages . test-lib . components . library . libs = mkForce [
14
18
( pkgs . stdenv . mkDerivation {
15
19
name = "test-clib" ;
Original file line number Diff line number Diff line change @@ -5,12 +5,13 @@ test.a: test.o
5
5
$(AR ) -rs test-clib.a test.o
6
6
7
7
test.dll : test.o
8
- $(CC ) -o test-clib.dll -shared test.o
8
+ $(CC ) -o test-clib-0 .dll -shared test.o -Wl,--out-implib=test-clib.dll.a
9
9
10
10
.PHONY : install
11
11
install : test.a test.dll
12
12
mkdir $(out ) /bin
13
13
mkdir $(out ) /lib
14
- mv test-clib.dll $(out ) /bin
14
+ mv test-clib-0.dll $(out ) /bin
15
+ mv test-clib.dll.a $(out ) /bin
15
16
mv test-clib.a $(out ) /lib
16
17
You can’t perform that action at this time.
0 commit comments