mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
Support building dynamic libraries
This commit is contained in:
parent
9b11a8bfbc
commit
6dd74b48f8
4 changed files with 23 additions and 13 deletions
|
@ -4,4 +4,4 @@ libmain_DIR := $(d)
|
|||
|
||||
libmain_SOURCES = shared.cc stack.cc
|
||||
|
||||
libmain_LDFLAGS = $(BDW_GC_LIBS)
|
||||
libmain_LDFLAGS_PROPAGATED = $(BDW_GC_LIBS)
|
||||
|
|
|
@ -5,9 +5,9 @@ libutil_DIR := $(d)
|
|||
libutil_SOURCES = util.cc hash.cc serialise.cc archive.cc xml-writer.cc affinity.cc
|
||||
|
||||
ifeq ($(HAVE_OPENSSL), 1)
|
||||
libutil_LDFLAGS = $(OPENSSL_LIBS)
|
||||
libutil_LDFLAGS = $(OPENSSL_LIBS)
|
||||
else
|
||||
libutil_SOURCES += md5.c sha1.c sha256.c
|
||||
libutil_SOURCES += md5.c sha1.c sha256.c
|
||||
endif
|
||||
|
||||
libutil_LIBS = src/boost/format/libformat
|
||||
|
|
|
@ -5,3 +5,5 @@ nix-store_DIR := $(d)
|
|||
nix-store_SOURCES = nix-store.cc dotgraph.cc xmlgraph.cc
|
||||
|
||||
nix-store_LIBS = libmain libstore libutil libformat
|
||||
|
||||
nix-store_LDFLAGS = -lbz2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue