automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A target_os conditionally applied -lfoo switch


From: Earnie Boyd
Subject: A target_os conditionally applied -lfoo switch
Date: Wed, 13 Nov 2002 13:08:36 -0500
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826

I need to add a library specific to a target_os. I've tried several possible techniques and can't get cooperation from the tools.

What I want is something similar to:

target_os := @target_os@

ifeq ($(target_os),mingw32)
  LDADD += -lws2_32
endif


Unfortunately automake thinks the conditional belongs to it instead of make.

Help?

Earnie.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]