Changeset d203495 for Makefile


Ignore:
Timestamp:
2014-07-19T23:55:24Z (10 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
778ea8a
Parents:
5f818ae
Message:

Allow LDFLAGS to be provided in the environment and consistently use $(LDFLAGS)
when linking (not partially linking).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r5f818ae rd203495  
    1616ifeq ($(TARGET),i586-mingw32msvc)
    1717objects += win32.o
    18 LFLAGS+=-lws2_32
     18LDFLAGS+=-lws2_32
    1919EFLAGS+=-lsecur32
    2020OUTFILE=bitlbee.exe
     
    174174$(SKYPE_PI): $(_SRCDIR_)protocols/skype/skype.c
    175175        @echo '*' Building plugin skype
    176         @$(CC) $(CFLAGS) $(SKYPEFLAGS) $< -o $@
     176        @$(CC) $(CFLAGS) $(LDFLAGS) $(SKYPEFLAGS) $< -o $@
    177177
    178178$(objects): %.o: $(_SRCDIR_)%.c
     
    184184$(OUTFILE): $(objects) $(subdirs)
    185185        @echo '*' Linking $(OUTFILE)
    186         @$(CC) $(objects) $(subdirobjs) -o $(OUTFILE) $(LDFLAGS_BITLBEE) $(LFLAGS) $(EFLAGS)
     186        @$(CC) $(objects) $(subdirobjs) -o $(OUTFILE) $(LDFLAGS_BITLBEE) $(LDFLAGS) $(EFLAGS)
    187187ifndef DEBUG
    188188        @echo '*' Stripping $(OUTFILE)
Note: See TracChangeset for help on using the changeset viewer.