File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ prefix=@prefix@
44exec_prefix=@exec_prefix@
55libdir=@libdir@
66
7- @LD_PRELOAD_VAR@=${libdir} /libjemalloc.@SOREV @
7+ @LD_PRELOAD_VAR@=${libdir} /libjemalloc.@sorev @
88export @LD_PRELOAD_VAR@
99exec " $@ "
Original file line number Diff line number Diff line change @@ -202,6 +202,7 @@ libprefix="lib"
202202DSO_LDFLAGS='-shared -Wl,-soname,$(@F)'
203203RPATH='-Wl,-rpath,$(1)'
204204SOREV='$(SO).$(REV)'
205+ sorev="${so}.${rev}"
205206PIC_CFLAGS='-fPIC -DPIC'
206207
207208dnl Heap profiling uses the log(3) function.
@@ -226,6 +227,7 @@ case "${host}" in
226227 force_tls="0"
227228 DSO_LDFLAGS='-shared -Wl,-dylib_install_name,$(@F)'
228229 SOREV='$(REV).$(SO)'
230+ sorev="${rev}.${so}"
229231 ;;
230232 *-*-freebsd*)
231233 CFLAGS="$CFLAGS"
@@ -284,6 +286,7 @@ case "${host}" in
284286 libprefix=""
285287 exe=".exe"
286288 SOREV='$(SO)'
289+ sorev="${so}"
287290 PIC_CFLAGS=""
288291 ;;
289292 *)
@@ -301,6 +304,7 @@ AC_SUBST([exe])
301304AC_SUBST ( [ libprefix] )
302305AC_SUBST ( [ DSO_LDFLAGS] )
303306AC_SUBST ( [ SOREV] )
307+ AC_SUBST ( [ sorev] )
304308AC_SUBST ( [ PIC_CFLAGS] )
305309
306310JE_COMPILABLE([ __attribute__ syntax] ,
You can’t perform that action at this time.
0 commit comments