Linking order matters
This commit is contained in:
4
Makefile
4
Makefile
@@ -10,10 +10,10 @@ firebuf/firebuf.o:
|
||||
$(MAKE) --directory=firebuf
|
||||
|
||||
firecgi.a: $(objects)
|
||||
ar rcs $@ $(objects)
|
||||
ar rcs $@ $^
|
||||
|
||||
firecgi.o: $(objects) firebuf/firebuf.o
|
||||
ld --relocatable --output=$@ $^
|
||||
ld --relocatable --output=$@ $+
|
||||
|
||||
example_simple: example_simple.o firecgi.o
|
||||
$(FIRE_CXX) $(FIRE_CXXFLAGS) -o $@ $+ $(FIRE_LDLIBS)
|
||||
|
||||
2
firebuf
2
firebuf
Submodule firebuf updated: 63b3584cfa...49766e29f4
Reference in New Issue
Block a user