OSTYPE not set in make?

Christoph Höger choeger at cs.tu-berlin.de
Mon Aug 24 21:41:51 UTC 2009


Hi all,

I have to (really, I have - so please do not advise me to change to
autotools ;) ) work with a makefile which uses something like:

ifeq ($(OSTYPE),msys)
        ar cru $(MODEL) $(DEST)
        ranlib $(MODEL)
else
        $(LINKCMD) -o $(MODEL) $(DEST) $(LINKLIB)
endif

To build for different platforms. 

So far so "fine", but why is $OSTYPE empty? I have linux-gnu in my
shell?

(just wondering for the reason, the bug report will come anyway)

regards

Christoph

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20090824/5b89017a/attachment-0001.bin 


More information about the users mailing list