git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daa73ef
)
r25986: libreplace: warn about unresolved symbols when link shared libraries
author
Stefan Metzmacher
<metze@samba.org>
Fri, 16 Nov 2007 08:31:49 +0000
(09:31 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Dec 2007 04:45:29 +0000
(
05:45
+0100)
On Tru64 and Mac OS X this hopefully works
Note: -Wl,--no-allow-shlib-undefined doesn't tests what we want
on Linux.
metze
(This used to be commit
7bee9a62ffda64a1bdcdbdd38dbb181eac8b641e
)
source4/lib/replace/libreplace_ld.m4
patch
|
blob
|
history
diff --git
a/source4/lib/replace/libreplace_ld.m4
b/source4/lib/replace/libreplace_ld.m4
index 9356ebdf6e749f4411132085ad5583a2d036d458..ac8c870a64392a0a790ef1f35dffc1dc4195f6c0 100644
(file)
--- a/
source4/lib/replace/libreplace_ld.m4
+++ b/
source4/lib/replace/libreplace_ld.m4
@@
-110,8
+110,11
@@
AC_DEFUN([AC_LD_SHLDFLAGS],
SHLD_FLAGS="-b"
fi
;;
+ *osf*)
+ SHLD_FLAGS="-shared -warning_unresolved"
+ ;;
*darwin*)
- SHLD_FLAGS="-bundle -flat_namespace -undefined
suppress
-Wl,-search_paths_first"
+ SHLD_FLAGS="-bundle -flat_namespace -undefined
warning
-Wl,-search_paths_first"
;;
esac