mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 08:45:08 +00:00

This sets the --with-shared switch for the configure script so that ncurses is compiled as a shared library in addition the default which is a static library. Without the --with-shared switch ncurses will only be compiled as a static library. To properly set the environment variables LOCAL_LDFLAGS and LOCAL_LDFLAGS2, a case in the configure script had to be updated to include '*serenity*'.
13 lines
439 B
Diff
13 lines
439 B
Diff
diff --git a/configure b/configure
|
|
index 06f344f3e..240cd098b 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -5943,7 +5943,7 @@ echo "${ECHO_T}$cf_cv_ldflags_search_paths_first" >&6
|
|
fi
|
|
cf_cv_rm_so_locs=yes
|
|
;;
|
|
- (linux*|gnu*|k*bsd*-gnu)
|
|
+ (linux*|gnu*|k*bsd*-gnu|*serenity*)
|
|
if test "$DFT_LWR_MODEL" = "shared" && test -n "$LD_RPATH_OPT" ; then
|
|
LOCAL_LDFLAGS="${LD_RPATH_OPT}\$(LOCAL_LIBDIR)"
|
|
LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
|