1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-18 05:45:45 +02:00

lib: In 2016, Ubuntu still insists on topologically sorted libraries while linking

This fixes builds on Ubuntu Server 16.04.

Fixes: https://github.com/Zygo/bees/issues/8
This commit is contained in:
Zygo Blaxell 2016-12-11 19:52:07 -05:00
parent ec9d4a1d15
commit f5f4d69ba3

View File

@ -18,8 +18,6 @@ OBJS = \
include ../makeflags
LDFLAGS = -shared -luuid
depends.mk: *.c *.cc
for x in *.c; do $(CC) $(CFLAGS) -M "$$x"; done > depends.mk.new
for x in *.cc; do $(CXX) $(CXXFLAGS) -M "$$x"; done >> depends.mk.new
@ -34,4 +32,4 @@ depends.mk: *.c *.cc
$(CXX) $(CXXFLAGS) -o $@ -c $<
libcrucible.so: $(OBJS) Makefile
$(CXX) $(LDFLAGS) -o $@ $(OBJS)
$(CXX) $(LDFLAGS) -o $@ $(OBJS) -shared -luuid