summaryrefslogtreecommitdiff
path: root/emulators/wine/patches/patch-ab
blob: e921e14251f2ea0e40f12476e4a680a69c5fc66a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Makefile.in.orig	Sun Feb 15 14:20:52 1998
+++ Makefile.in	Sun Mar 15 23:37:10 1998
@@ -108,7 +108,7 @@
 lib: $(LIBSUBDIRS) $(LIB_TARGET)
 
 wine wine.sym: $(LIBSUBDIRS) $(LIB_TARGET) $(EMUSUBDIRS) dummy
-	$(CC) -o wine $(EMUOBJS) $(LIB_TARGET) $(LDOPTIONS) $(X_LIBS) $(XPM_LIB) $(XLIB) $(LIBS)
+	$(CC) -o wine $(EMUOBJS) -L. -lwine $(LDOPTIONS) $(X_LIBS) $(XPM_LIB) $(XLIB) $(LIBS)
 	nm -n wine | grep -v _compiled >wine.sym
 
 libwine.a: $(LIBOBJS)
@@ -117,7 +117,7 @@
 	$(RANLIB) $@
 
 libwine.so.1.0: $(LIBOBJS)
-	$(CC) -shared -Wl,-soname,libwine.so -o$@ $(LIBOBJS) $(LDOPTIONS) $(X_LIBS) $(XPM_LIB) $(XLIB) $(LIBS)
+	${LDSHARE} -o$@ $(LIBOBJS) $(LDOPTIONS)
 
 install_emu: install_lib
 	$(INSTALL_PROGRAM) wine $(bindir)/wine