Revision 1508

trunk/src/GNUmakefile (revision 1508)
109 109
	$(CXX) -static -shared $(LDFLAGS) -o..\build\dist\lib\admbo.dll -Wl,--whole-archive ..\build\dist\lib\libadmbo-shared.a -Wl,--no-whole-archive
110 110
else
111 111
  ifeq (LLVM,$(findstring LLVM,$(shell $(CXX) --version)))
112
	$(CXX) -shared -o../build/dist/lib/libadmb.so -Wl,-all_load ../build/dist/lib/libadmb-shared.a
113
	$(CXX) -shared -o../build/dist/lib/libadmbo.so -Wl,-all_load ../build/dist/lib/libadmbo-shared.a
112
	$(CXX) -shared $(LDFLAGS) -o../build/dist/lib/libadmb.so -Wl,-all_load ../build/dist/lib/libadmb-shared.a
113
	$(CXX) -shared $(LDFLAGS) -o../build/dist/lib/libadmbo.so -Wl,-all_load ../build/dist/lib/libadmbo-shared.a
114 114
  else
115
	$(CXX) -shared -o../build/dist/lib/libadmb.so -Wl,--whole-archive ../build/dist/lib/libadmb-shared.a -Wl,--no-whole-archive
116
	$(CXX) -shared -o../build/dist/lib/libadmbo.so -Wl,--whole-archive ../build/dist/lib/libadmbo-shared.a -Wl,--no-whole-archive
115
	$(CXX) -shared $(LDFLAGS) -o../build/dist/lib/libadmb.so -Wl,--whole-archive ../build/dist/lib/libadmb-shared.a -Wl,--no-whole-archive
116
	$(CXX) -shared $(LDFLAGS) -o../build/dist/lib/libadmbo.so -Wl,--whole-archive ../build/dist/lib/libadmbo-shared.a -Wl,--no-whole-archive
117 117
  endif
118 118
endif
119 119
	@echo ADMB shared build completed.

Also available in: Unified diff