Force frameworks to be always compiled as shared

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@18387 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2004-01-12 12:46:40 +00:00
parent 330f527132
commit 9d7594fc1d
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Mon Jan 12 12:45:56 2004 Nicola Pero <n.pero@mi.flashnet.it>
* common.make: If a framework is being compiled with shared=no,
print a warning and use shared=yes instead.
Mon Jan 12 11:47:00 2004 Jeff Teunissen <deek@d2dc.net>,
Nicola Pero <n.pero@mi.flashnet.it>

View file

@ -376,6 +376,11 @@ ifeq ($(shared), no)
override shared = yes
export shared
endif
ifeq ($(GNUSTEP_TYPE), framework)
$(warning "Static frameworks are meaningless! I am using shared=yes!")
override shared = yes
export shared
endif
endif
# Enable building shared libraries by default. If the user wants to build a