diff --git a/Makefile b/Makefile index 307ecda9c319cb2c9cc7f9a846f07381ff0b1d72..0431e6151b422bc502efbc566f3396ff42f6706c 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ LIBVOICE: $(MAKE) -C libvoice $(VOICEMNGR): LIBVOICE $(OBJS) - $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) clean: rm -f *.o $(VOICEMNGR) diff --git a/libvoice/Makefile b/libvoice/Makefile index c25aeb68f05dc4e1d918284c3d80be6604f4cba4..22679ac34c57103eb6984da8b2245c30f44e0ad8 100644 --- a/libvoice/Makefile +++ b/libvoice/Makefile @@ -29,7 +29,7 @@ all: debug $(LIBVOICE) $(CC) $(CFLAGS) -fPIC -c -o $@ $< $(LIBVOICE): $(OBJS) - $(CC) $(CFLAGS) -shared -o $@ $^ $(LIBS) + $(CC) $(CFLAGS) -shared $(LDFLAGS) -o $@ $^ $(LIBS) clean: rm -f *.o $(LIBVOICE)