aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mplayerxp/files/patch-codecs__common.mak
blob: 61e5eb6c8bcdcc3c44288d547fb0f0a4d67a7c7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- codecs/common.mak.orig  Fri Dec  1 16:20:40 2006
+++ codecs/common.mak   Mon Dec 25 00:55:17 2006
@@ -22,7 +22,7 @@
 endif
 
 ifneq ($(TARGET_OS),WIN32)
-LDFLAGS+=-Xlinker -rpath=$(BINDIR)
+LDFLAGS+=-L${LOCALBASE}/lib -L${X11BASE}/lib -Xlinker -rpath=$(BINDIR)
 endif
 
 ifeq ($(TARGET_ARCH_SPARC64),yes)
@@ -42,9 +42,9 @@
    $(RANLIB) $@
 
 $(SLIBNAME): $(SHARED_OBJS)
-ifneq ($(TARGET_OS),WIN32)
-   install -d  $(BINDIR)
-endif
+#ifneq ($(TARGET_OS),WIN32)
+#  install -d  $(BINDIR)
+#endif
    $(CC) $(SHFLAGS) $(LDFLAGS) -o $@ $^ $(EXTRALIBS) $(EXTRAOBJS)
 #ifeq ($(TARGET_OS),WIN32)
 #  -lib /machine:i386 /def:$(@:.dll=.def)