blob: d0b5b2c0593ad52de94cb6e6c3cf0df2c9b2ccf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- librep-0.17/Makedefs.in
+++ librep-0.17/Makedefs.in
@@ -101,7 +101,7 @@
# Rule for dlopen'able C objects
%.la : %.c
$(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
- $(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) -o $@ $*.lo
+ $(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $*.lo
# Build dependancy files from C source files.
.%.d : %.c
--- librep-0.17/src/Makefile.in
+++ librep-0.17/src/Makefile.in
@@ -61,11 +61,11 @@
-o $@ $^ -rpath $(libdir) $(LIBS) $(GMP_LIBS)
rep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la
- $(LIBTOOL) --mode=link --tag=CC $(CC) -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \
+ $(LIBTOOL) --mode=link --tag=CC $(CC) -export-dynamic $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ \
$(REP_OBJS) librep.la $(EXTRA_LIBOBJS) $(LIBS) $(GMP_LIBS)
srep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la
- $(LIBTOOL) --mode=link --tag=CC $(CC) -static -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \
+ $(LIBTOOL) --mode=link --tag=CC $(CC) -static -export-dynamic $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ \
$(REP_OBJS) librep.la $(EXTRA_LIBOBJS) $(LIBS) $(GMP_LIBS)
rep-remote : rep-remote.c
|