12 lines
520 B
Diff
12 lines
520 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -70,7 +70,7 @@
|
|
$(LIBTOOL) --mode=compile --tag=CC $(CC) $(CFLAGS) -o $@ -c $<
|
|
|
|
$(LIBRARY): $(OBJECTS)
|
|
- $(LIBTOOL) --mode=link --tag=CC $(CC) -rpath $(LIBDIR) -version-info $(VERSION_CURRENT):$(VERSION_REVISION):$(VERSION_AGE) $(LDFLAGS) -o $@ $^
|
|
+ $(LIBTOOL) --mode=link --tag=CC $(CC) -rpath $(LIBDIR) -version-info $(VERSION_CURRENT):$(VERSION_REVISION):$(VERSION_AGE) -no-undefined $(LDFLAGS) -o $@ $^
|
|
|
|
demo: $(LIBRARY) demo.lo
|
|
$(LIBTOOL) --mode=link --tag=CC $(CC) -o $@ $^
|