Remove '-L$(prefix)/lib' to prevent multi-arch build issues

Signed-off-by: aneejit1 <aneejit1@gmail.com>
(cherry picked from commit 0ac75d6e82)
r14.1.x
aneejit1 4 years ago committed by Michele Calgaro
parent f6741f0084
commit 62466ad1ac
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -7,7 +7,7 @@ lib_LTLIBRARIES = libgtkxparts.la
libgtkxparts_la_SOURCES = gtkpart.c gtkbrowserextension.c
libgtkxparts_la_LIBADD = $(GTK2_LIBS) $(GLIB2_LIBS) $(top_builddir)/dcopc/libdcopc.la
libgtkxparts_la_LDFLAGS = -L$(prefix)/lib $(all_libraries) -no-undefined
libgtkxparts_la_LDFLAGS = $(all_libraries) -no-undefined
gtkxpartsinclude_HEADERS = gtkpart.h gtkbrowserextension.h
gtkxpartsincludedir = $(includedir)/xtdeparts

@ -10,7 +10,7 @@ xparthost_DIR=$(srcdir)/../src/interfaces
xp_notepad_SOURCES = xp_notepad.cpp xpart.skel xparthost.stub
xp_notepad_LDADD = $(LIB_TQT) $(LIB_TDECORE) -lDCOP ../src/tde/libtdexparts.la
#xp_notepad_LDFLAGS = -L$(prefix)/lib -lxpcom $(all_libraries)
xp_notepad_LDFLAGS = -L$(prefix)/lib $(all_libraries)
xp_notepad_LDFLAGS = $(all_libraries)
shell_xparthost_SOURCES = shell_xparthost.cpp
shell_xparthost_LDADD = $(LIB_TQT) $(LIB_TDECORE) -lDCOP $(LIB_TDEUI) $(LIB_TDEPARTS) $(top_builddir)/xparts/src/tde/libtdexparts.la

Loading…
Cancel
Save