1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-24 01:41:08 +01:00

Allow for ergnomically putting Unix-only files in subdirs by creating INLCUDE_$(pkg) vars

Separate platform-specific files will allow avoiding a lot of CPP.
This commit is contained in:
John Ericson 2023-09-02 17:10:28 -04:00
parent 4a61827d2d
commit 77205b2042
14 changed files with 33 additions and 19 deletions

View file

@ -6,7 +6,7 @@ libmain_DIR := $(d)
libmain_SOURCES := $(wildcard $(d)/*.cc)
libmain_CXXFLAGS += -I src/libutil -I src/libstore
libmain_CXXFLAGS += $(INCLUDE_libutil) $(INCLUDE_libstore)
libmain_LDFLAGS += $(OPENSSL_LIBS)