blob: e281452d4340485a2163f54c3c292d2581931776 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
$NetBSD: patch-makefile,v 1.8 2015/01/29 20:08:16 wiz Exp $
Link against pkgsrc versions of expat, zlib, flac, jpeg, and
sqlite3, and add appropriate linker search paths.
--- makefile.orig 2015-01-29 17:12:56.000000000 +0000
+++ makefile
@@ -227,19 +227,19 @@ endif
# BIGENDIAN = 1
# uncomment next line to build expat as part of MAME build
-BUILD_EXPAT = 1
+#BUILD_EXPAT = 1
# uncomment next line to build zlib as part of MAME build
-BUILD_ZLIB = 1
+#BUILD_ZLIB = 1
# uncomment next line to build libflac as part of MAME build
-BUILD_FLAC = 1
+#BUILD_FLAC = 1
# uncomment next line to build jpeglib as part of MAME build
-BUILD_JPEGLIB = 1
+#BUILD_JPEGLIB = 1
# uncomment next line to build libsqlite3 as part of MAME/MESS build
-BUILD_SQLITE3 = 1
+#BUILD_SQLITE3 = 1
# uncomment next line to build PortMidi as part of MAME/MESS build
BUILD_MIDILIB = 1
@@ -739,7 +739,7 @@ DRIVLISTOBJ = $(OBJ)/$(TARGET)/$(SUBTARG
#-------------------------------------------------
# start with an empty set of libs
-LIBS =
+LIBS = -Wl,-R${PREFIX}/lib -L${PREFIX}/lib
# add expat XML library
ifeq ($(BUILD_EXPAT),1)
|