1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-11 04:56:01 +01:00

Add unix (and linux) dirs

In the Nix commit, platform-specific sources will go here.
This commit is contained in:
John Ericson 2024-03-27 12:01:07 -04:00
parent 290be6c906
commit 852391765d
9 changed files with 50 additions and 6 deletions

View file

@ -5,8 +5,13 @@ libmain_NAME = libnixmain
libmain_DIR := $(d)
libmain_SOURCES := $(wildcard $(d)/*.cc)
ifdef HOST_UNIX
libmain_SOURCES += $(wildcard $(d)/unix/*.cc)
endif
libmain_CXXFLAGS += $(INCLUDE_libutil) $(INCLUDE_libstore)
INCLUDE_libmain := -I $(d)
libmain_CXXFLAGS += $(INCLUDE_libutil) $(INCLUDE_libstore) $(INCLUDE_libmain)
libmain_LDFLAGS += $(OPENSSL_LIBS)