mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Expanded my comment on -DBUILD_lib{library_name}_DLL=1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@10967 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cd620532a1
commit
cf7745597f
1 changed files with 4 additions and 1 deletions
|
@ -161,7 +161,10 @@ ifneq ($(strip $(DLL_DEF)),)
|
|||
DLL_DEF_FLAG = --input-def $(DLL_DEF)
|
||||
endif
|
||||
|
||||
# Pass -DBUILD_lib{library_name}_DLL=1 to the preprocessor
|
||||
# Pass -DBUILD_lib{library_name}_DLL=1 to the preprocessor. The
|
||||
# library header files can use this preprocessor define to know that
|
||||
# they are included during compilation of the library itself, and can
|
||||
# then use __declspec(dllexport) to export symbols
|
||||
CLEAN_library_NAME = $(shell echo $(INTERNAL_library_NAME)|tr '-' '_')
|
||||
SHARED_CFLAGS += -DBUILD_$(CLEAN_library_NAME)_DLL=1
|
||||
|
||||
|
|
Loading…
Reference in a new issue