blob: 8d5635b7481d2b8766994a9302f4b52dc67878ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ab,v 1.6 2001/12/26 23:03:44 wiz Exp $
--- Makefile.in.orig Fri Dec 11 14:26:26 1998
+++ Makefile.in
@@ -153,7 +153,7 @@
lib: $(LIBSUBDIRS) $(X11SUBDIRS) $(LIB_TARGET)
wine wine.sym: $(LIBSUBDIRS) $(X11SUBDIRS) $(LIB_TARGET) $(EMUSUBDIRS) dummy
- $(CC) -o wine $(EMUOBJS) $(LIB_TARGET) $(ALT_LINK) $(LDOPTIONS) $(X_LIBS) $(XLIB) $(LIBS)
+ $(CC) -o wine $(EMUOBJS) -L. -lwine $(ALT_LINK) $(LDFLAGS) $(LDOPTIONS) $(X_LIBS) $(XLIB) $(LIBS)
nm -n wine | grep -v _compiled >wine.sym
@echo "Wine build complete."
@@ -163,7 +163,7 @@
$(RANLIB) $@
libwine.so.1.0: $(LIBOBJS) $(X11OBJS)
- $(CC) -shared -Wl,-soname,libwine.so -o$@ $(LIBOBJS) $(X11OBJS) $(LDOPTIONS) $(X_LIBS) $(XLIB) $(LIBS)
+ ${LDSHARE} -o$@ $(LIBOBJS) $(X11OBJS) $(LDOPTIONS)
install_emu: install_lib
[ -d $(bindir) ] || $(MKDIR) $(bindir)
|