diff --git a/cde/lib/DtSvc/DtUtil2/Makefile.am b/cde/lib/DtSvc/DtUtil2/Makefile.am index 2b0f0ec12..b94a3ce81 100644 --- a/cde/lib/DtSvc/DtUtil2/Makefile.am +++ b/cde/lib/DtSvc/DtUtil2/Makefile.am @@ -2,7 +2,7 @@ MAINTAINERCLEANFILES = Makefile.in noinst_LTLIBRARIES = libDtUtil2.la -libDtUtil2_la_CFLAGS = -I../include $(TIRPCINC) -DMULTIBYTE \ +libDtUtil2_la_CFLAGS = -I../include $(TIRPCINC) -DMULTIBYTE -DNLS16 \ @DT_INCDIR@ \ -DCDE_INSTALLATION_TOP=\"${prefix}\" \ -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \ diff --git a/cde/lib/DtSvc/Makefile.am b/cde/lib/DtSvc/Makefile.am index 290b8b29c..312a47625 100644 --- a/cde/lib/DtSvc/Makefile.am +++ b/cde/lib/DtSvc/Makefile.am @@ -6,7 +6,6 @@ lib_LTLIBRARIES = libDtSvc.la libDtSvc_la_SOURCES = -libDtSvc_la_LIBADD = $(LIBXIN) -lXinerama DtUtil1/libDtUtil1.la \ - DtUtil2/libDtUtil2.la DtEncap/libDtEncap.la \ - DtCodelibs/libDtCodelibs.la DtXpm/libDtXpm.la -libDtSvc_la_LDFLAGS = -version-info 2:1:0 +libDtSvc_la_LIBADD = DtUtil1/*.lo DtUtil2/*.lo DtEncap/*.lo \ + DtCodelibs/*.lo DtXpm/*.lo +libDtSvc_la_LDFLAGS = -fPIC -version-info 2:1:0