OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Split the LDFLAGS make variable into two parts: LDFLAGS is now used for
[pg-rex/syncrep.git]
/
src
/
makefiles
/
Makefile.dgux
diff --git
a/src/makefiles/Makefile.dgux
b/src/makefiles/Makefile.dgux
index
f951963
..
0c34d4a
100644
(file)
--- a/
src/makefiles/Makefile.dgux
+++ b/
src/makefiles/Makefile.dgux
@@
-2,7
+2,8
@@
AROPT = crs
DLSUFFIX = .so
CFLAGS_SL = -fpic
+# Rule for building a shared library from a single .o file
%.so: %.o
- $(CC) -shared -o $@ $<
+ $(CC)
$(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL)
-shared -o $@ $<
sqlmansect = 5