Show
Ignore:
Timestamp:
02/05/10 03:53:41 (2 years ago)
Author:
L. Donnie Smith <donnie.smith@…>
Parents:
2100f14c612471084434b364501e3818c7f4144e
Children:
69c758d6b8d0796f2d72a6d334be1e259fc45ab4
git-committer:
L. Donnie Smith <donnie.smith@gatech.edu> / 2010-02-04T22:53:41Z-0500
Message:

fix link options for --as-needed (#90)

also fix a couple of includes

Location:
common/include
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • common/include/app.mak

    r49e0132 r6af6786  
    1111 
    1212$(APP_NAME): $(OBJECTS) 
    13         $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LDLIBS) 
     13        $(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(LDLIBS) 
    1414 
    1515install: $(APP_NAME) 
  • common/include/lib.mak.in

    r49e0132 r6af6786  
    2626 
    2727$(SHARED_LIB): $(OBJECTS) 
    28         $(CC) -shared -Wl,-soname,$(SO_NAME) $(LDFLAGS) $(LDLIBS) \ 
    29               -o $(SHARED_LIB) $(OBJECTS) 
     28        $(CC) -shared -Wl,-soname,$(SO_NAME) $(LDFLAGS) -o $(SHARED_LIB) \ 
     29              $(OBJECTS) $(LDLIBS) 
    3030 
    3131install: install_header install_static install_shared 
  • common/include/plugin.mak

    r49e0132 r6af6786  
    1717 
    1818$(LIB_NAME): $(OBJECTS) 
    19         $(CC) -shared $(LDFLAGS) $(LDLIBS) -o $(LIB_NAME) $(OBJECTS) 
     19        $(CC) -shared $(LDFLAGS) -o $(LIB_NAME) $(OBJECTS) $(LDLIBS) 
    2020 
    2121install: $(LIB_NAME)