Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162303994
D47465.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D47465.diff
View Options
diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk
--- a/share/mk/src.libnames.mk
+++ b/share/mk/src.libnames.mk
@@ -87,6 +87,9 @@
wpautils \
wpawps
+_AHACKEDLIBS= crypt \
+ ncursesw
+
# Let projects based on FreeBSD append to _INTERNALLIBS
# by maintaining their own LOCAL_INTERNALLIBS list.
_INTERNALLIBS+= ${LOCAL_INTERNALLIBS}
@@ -94,6 +97,7 @@
_LIBRARIES= \
${_PRIVATELIBS} \
${_INTERNALLIBS} \
+ ${_AHACKEDLIBS} \
${LOCAL_LIBRARIES} \
80211 \
9p \
@@ -173,7 +177,6 @@
memstat \
mp \
mt \
- ncursesw \
netgraph \
netmap \
ngatm \
@@ -481,6 +484,10 @@
LIB${_l:tu}?= ${LIBDESTDIR}${LIBDIR_BASE}/libprivate${_l}.a
.endfor
+.for _l in ${_AHACKEDLIBS}
+LIB${_l:tu}?= ${LIBDESTDIR}${LIBDIR_BASE}/lib${_l}_real.a
+.endfor
+
.if ${MK_PIE} != "no"
PIE_SUFFIX= _pie
.endif
@@ -494,6 +501,8 @@
LDADD_${_l}?= -lprivate${_l}
.elif ${_INTERNALLIBS:M${_l}}
LDADD_${_l}?= ${LDADD_${_l}_L} -l${_l:S/${PIE_SUFFIX}//}${PIE_SUFFIX}
+.elif ${_AHACKEDLIBS:M${_l}} && (defined(NO_SHARED) && ${NO_SHARED:tl} != "no")
+LDADD_${_l}?= ${LDADD_${_l}_L} -l${_l}_real
.else
LDADD_${_l}?= ${LDADD_${_l}_L} -l${_l}
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 12, 9:13 PM (8 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35011940
Default Alt Text
D47465.diff (1 KB)
Attached To
Mode
D47465: src.libnames.mk: add the notion of hacked a files
Attached
Detach File
Event Timeline
Log In to Comment