Changeset 947 for trunk/mk/beos.mk


Ignore:
Timestamp:
Sep 28, 2006, 4:04:06 PM (16 years ago)
Author:
titer
Message:

List libT.a before the -l* flags on the command line (otherwise this can cause problems with LDFLAGS=-Wl,--as-needed)

Patch by Daniel T. Lin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mk/beos.mk

    r265 r947  
    99
    1010CXXFLAGS += -I../libtransmission
    11 LDFLAGS  += ../libtransmission/libtransmission.a
     11LDLIBS   += ../libtransmission/libtransmission.a
    1212CXXFLAGS += -IlibPrefs
    13 LDFLAGS  += -lbe -ltracker libPrefs/libPrefs.a
     13LDFLAGS  += -lbe -ltracker
     14LDLIBS   += libPrefs/libPrefs.a
    1415
    1516Transmission: $(OBJS) Transmission.rsrc
    16         $(CXX) -o $@ $(OBJS) $(LDFLAGS)
     17        $(CXX) -o $@ $(OBJS) $(LDLIBS) $(LDFLAGS)
    1718        xres -o Transmission Transmission.rsrc
    1819        mimeset -f Transmission
Note: See TracChangeset for help on using the changeset viewer.