Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107931250
D26618.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
D26618.diff
View Options
Index: head/share/mk/bsd.lib.mk
===================================================================
--- head/share/mk/bsd.lib.mk
+++ head/share/mk/bsd.lib.mk
@@ -312,7 +312,8 @@
@${ECHO} building shared library ${SHLIB_NAME}
@rm -f ${SHLIB_NAME} ${SHLIB_LINK}
.if defined(SHLIB_LINK) && !commands(${SHLIB_LINK:R}.ld) && ${MK_DEBUG_FILES} == "no"
- @${INSTALL_LIBSYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ${SHLIB_NAME} ${SHLIB_LINK}
+ # Note: This uses ln instead of ${INSTALL_LIBSYMLINK} since we are in OBJDIR
+ @${LN:Uln} -fs ${SHLIB_NAME} ${SHLIB_LINK}
.endif
${_LD:N${CCACHE_BIN}} ${LDFLAGS} ${SSP_CFLAGS} ${SOLINKOPTS} \
-o ${.TARGET} -Wl,-soname,${SONAME} ${SOBJS} ${LDADD}
@@ -326,7 +327,8 @@
${OBJCOPY} --strip-debug --add-gnu-debuglink=${SHLIB_NAME}.debug \
${SHLIB_NAME_FULL} ${.TARGET}
.if defined(SHLIB_LINK) && !commands(${SHLIB_LINK:R}.ld)
- @${INSTALL_LIBSYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ${SHLIB_NAME} ${SHLIB_LINK}
+ # Note: This uses ln instead of ${INSTALL_LIBSYMLINK} since we are in OBJDIR
+ @${LN:Uln} -fs ${SHLIB_NAME} ${SHLIB_LINK}
.endif
${SHLIB_NAME}.debug: ${SHLIB_NAME_FULL}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 20, 3:15 PM (21 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15979138
Default Alt Text
D26618.diff (1 KB)
Attached To
Mode
D26618: Don't use install(1) for the library symlinks in the build directory
Attached
Detach File
Event Timeline
Log In to Comment